C# Class paramore.brighter.serviceactivator.Connection

Show file Open project: iancooper/Paramore Class Usage Examples

Public Methods

Method Description
Connection ( ConnectionName name, IAmAChannelFactory channelFactory, Type dataType, paramore.brighter.serviceactivator.ChannelName channelName, string routingKey, int noOfPerformers = 1, int timeoutInMilliseconds = 300, int requeueCount = -1, int requeueDelayInMilliseconds, int unacceptableMessageLimit, bool isDurable = false, bool isAsync = false ) : System

Initializes a new instance of the Connection class.

Method Details

Connection() public method

Initializes a new instance of the Connection class.
public Connection ( ConnectionName name, IAmAChannelFactory channelFactory, Type dataType, paramore.brighter.serviceactivator.ChannelName channelName, string routingKey, int noOfPerformers = 1, int timeoutInMilliseconds = 300, int requeueCount = -1, int requeueDelayInMilliseconds, int unacceptableMessageLimit, bool isDurable = false, bool isAsync = false ) : System
name ConnectionName The name.
channelFactory IAmAChannelFactory The channel factory to create channels for Consumer
dataType System.Type Type of the data.
channelName paramore.brighter.serviceactivator.ChannelName The channel name
routingKey string The routing key
noOfPerformers int The no of performers.
timeoutInMilliseconds int The timeout in milliseconds.
requeueCount int The number of times you want to requeue a message before dropping it
requeueDelayInMilliseconds int The number of milliseconds to delay the delivery of a requeue message for
unacceptableMessageLimit int The number of unacceptable messages to handle, before stopping reading from the channel
isDurable bool The durability of the queue
isAsync bool
return System