C# Класс 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
Наследование: MessageGateway, IAmAMessageProducerSupportingDelay
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

RmqMessageProducer() публичный Метод

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
Результат System

Send() публичный Метод

Sends the specified message.
public Send ( Message message ) : void
message Message The message.
Результат void

SendWithDelay() публичный Метод

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.
Результат void