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

Class ClientRequestHandler . The RmqMessageProducer is used by a client to talk to a server and abstracts the infrastructure for inter-process communication away from clients. It handles connection establishment, request sending and error handling
Inheritance: MessageGateway, IAmAMessageProducerSupportingDelay
Mostrar archivo Open project: iancooper/Paramore Class Usage Examples

Public Methods

Method Description
RmqMessageProducer ( RmqMessagingGatewayConnection connection ) : System

Initializes a new instance of the MessageGateway class.

Send ( Message message ) : void

Sends the specified message.

SendWithDelay ( Message message, int delayMilliseconds ) : void

Send the specified message with specified delay

Method Details

RmqMessageProducer() public method

Initializes a new instance of the MessageGateway class.
public RmqMessageProducer ( RmqMessagingGatewayConnection connection ) : System
connection paramore.brighter.commandprocessor.messaginggateway.rmq.MessagingGatewayConfiguration.RmqMessagingGatewayConnection The connection information needed to talk to RMQ
return System

Send() public method

Sends the specified message.
public Send ( Message message ) : void
message Message The message.
return void

SendWithDelay() public method

Send the specified message with specified delay
public SendWithDelay ( Message message, int delayMilliseconds ) : void
message Message The message.
delayMilliseconds int Number of milliseconds to delay delivery of the message.
return void