C# Class paramore.brighter.commandprocessor.Request

Class Request. Used for a Command that is a Reply in a Request-Reply exchange. Brighter supports publish-subscribe as its main approach to producers and consumers, but it is possible to support request-reply semantics as well. The key is that the sender must include a ReplyAddress in the Request (the IAmAMessageMapper then populates that into the MessageHeader as the replyTo address). When we create a Reply then we set the ReplyAddress from the Request onto the Reply and the IAmAMessageMapper for the Reply sets this as the topic so that it is routed correctly.
Inheritance: paramore.brighter.commandprocessor.Command
Exibir arquivo Open project: iancooper/Paramore

Public Methods

Method Description
Request ( ReplyAddress replyAddress ) : System

Constucts a reply

Method Details

Request() public method

Constucts a reply
public Request ( ReplyAddress replyAddress ) : System
replyAddress ReplyAddress
return System