Table of Contents

Class ReplyEndPointBase

Namespace
CarrotMQ.Core.EndPoints
Assembly
CarrotMQ.Core.dll

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

exchangeName string

The name of the messaging exchange to which the reply will be sent

routingKey string

The routing key to use for the reply message

includeRequestPayloadInResponse bool

A 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

string

Properties

Exchange

Name of the messaging exchange to which the reply will be sent

public string Exchange { get; }

Property Value

string

IncludeRequestPayloadInResponse

Flag indicating whether to include the request payload in the response.

public bool IncludeRequestPayloadInResponse { get; }

Property Value

bool

RoutingKey

Routing key used for the reply message

public string RoutingKey { get; }

Property Value

string