C# Class paramore.brighter.commandprocessor.messaginggateway.awssqs.SqsMessageConsumerFactory

Class SqsMessageConsumerFactory.
Inheritance: IAmAMessageConsumerFactory
显示文件 Open project: iancooper/Paramore Class Usage Examples

Public Methods

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

Creates the specified queue name.

SqsMessageConsumerFactory ( AWSCredentials credentials ) : Amazon.Runtime

Initializes a new instance of the SqsMessageConsumerFactory class.

Method Details

Create() public method

Creates the specified queue name.
public Create ( string channelName, string routingKey, bool isDurable, ushort preFetchSize = 1, bool highAvailability = false ) : IAmAMessageConsumer
channelName string Name of the channel.
routingKey string The routing key.
isDurable bool if set to true [is durable].
preFetchSize ushort Number of items to read from the queue at once
highAvailability bool Our are queues high-availablility
return IAmAMessageConsumer

SqsMessageConsumerFactory() public method

Initializes a new instance of the SqsMessageConsumerFactory class.
public SqsMessageConsumerFactory ( AWSCredentials credentials ) : Amazon.Runtime
credentials Amazon.Runtime.AWSCredentials
return Amazon.Runtime