C# Class paramore.brighter.commandprocessor.messaginggateway.rmq.RmqMessageConsumerFactory

Class RmqMessageConsumerFactory.
Inheritance: IAmAMessageConsumerFactory
Mostra file Open project: iancooper/Paramore Class Usage Examples

Public Methods

Method Description
Create ( string queueName, string routingKey, bool isDurable, ushort preFetchSize = 1, bool highAvailability = false ) : IAmAMessageConsumer

Creates the specified queue name.

RmqMessageConsumerFactory ( RmqMessagingGatewayConnection connection ) : paramore.brighter.commandprocessor.Logging

Initializes a new instance of the RmqMessageConsumerFactory class.

Method Details

Create() public method

Creates the specified queue name.
public Create ( string queueName, string routingKey, bool isDurable, ushort preFetchSize = 1, bool highAvailability = false ) : IAmAMessageConsumer
queueName string Name of the queue.
routingKey string The routing key.
isDurable bool Is the consumer target durable i.e. channel stores messages between restarts of consumer
preFetchSize ushort 0="Don't send me a new message until I?ve finished", 1= "Send me one message at a time", n = number to grab (take care with competing consumers)
highAvailability bool Does the queue exist in multiple nodes
return IAmAMessageConsumer

RmqMessageConsumerFactory() public method

Initializes a new instance of the RmqMessageConsumerFactory class.
public RmqMessageConsumerFactory ( RmqMessagingGatewayConnection connection ) : paramore.brighter.commandprocessor.Logging
connection RmqMessagingGatewayConnection
return paramore.brighter.commandprocessor.Logging