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

Class RMQInputChannelFactory. Creates instances of IAmAChannelchannels. Supports the creation of AMQP Application Layer channels using RabbitMQ
Inheritance: IAmAChannelFactory
Mostra file Open project: iancooper/Paramore Class Usage Examples

Public Methods

Method Description
CreateInputChannel ( string channelName, string routingKey, bool isDurable = false ) : IAmAChannel

Creates the input channel.

InputChannelFactory ( RmqMessageConsumerFactory messageConsumerFactory, RmqMessageProducerFactory messageProducerFactory )

Initializes a new instance of the InputChannelFactory class.

Method Details

CreateInputChannel() public method

Creates the input channel.
public CreateInputChannel ( string channelName, string routingKey, bool isDurable = false ) : IAmAChannel
channelName string Name of the channel.
routingKey string The routing key.
isDurable bool
return IAmAChannel

InputChannelFactory() public method

Initializes a new instance of the InputChannelFactory class.
public InputChannelFactory ( RmqMessageConsumerFactory messageConsumerFactory, RmqMessageProducerFactory messageProducerFactory )
messageConsumerFactory RmqMessageConsumerFactory The messageConsumerFactory.
messageProducerFactory RmqMessageProducerFactory