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
Afficher le fichier Open project: iancooper/Paramore Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat System

Send() public méthode

Sends the specified message.
public Send ( Message message ) : void
message Message The message.
Résultat void

SendWithDelay() public méthode

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.
Résultat void