Class ReplyEndPointBase
Represents base class for messaging endpoints used for the reply messages (reply of ICommand<TCommand, TResponse, TEndPointDefinition> or IQuery<TQuery, TResponse, TEndPointDefinition>)
public abstract class ReplyEndPointBase
- Inheritance
-
ReplyEndPointBase
- Derived
- Inherited Members
Constructors
ReplyEndPointBase(string, string, bool)
Initializes a new instance of the ReplyEndPointBase class.
protected ReplyEndPointBase(string exchangeName, string routingKey, bool includeRequestPayloadInResponse = false)
Parameters
exchangeNamestringThe name of the messaging exchange to which the reply will be sent
routingKeystringThe routing key to use for the reply message
includeRequestPayloadInResponseboolA flag indicating whether to include the request payload in the response.
Fields
ChannelOutRoutingKey
The pseudo-queue used as routing key for direct reply messages (channel reply)
public const string ChannelOutRoutingKey = "amq.rabbitmq.reply-to"
Field Value
Properties
Exchange
Name of the messaging exchange to which the reply will be sent
public string Exchange { get; }
Property Value
IncludeRequestPayloadInResponse
Flag indicating whether to include the request payload in the response.
public bool IncludeRequestPayloadInResponse { get; }
Property Value
RoutingKey
Routing key used for the reply message
public string RoutingKey { get; }