Class CarrotHeader
Represents the headers associated with a CarrotMQ message.
public sealed class CarrotHeader
- Inheritance
-
CarrotHeader
- Inherited Members
Constructors
CarrotHeader()
public CarrotHeader()
Properties
CalledMethod
Called method for this message (used to determine which handler will be executed when receiving the message).
public string CalledMethod { get; set; }
Property Value
CorrelationId
AMQP correlation-id: Application correlation identifier.
public Guid? CorrelationId { get; set; }
Property Value
- Guid?
CreatedAt
Timestamp indicating when the message was created.
public DateTimeOffset CreatedAt { get; set; }
Property Value
CustomHeader
Optional headers in the form of a Dictionary<TKey, TValue> whose generic type argument is string.
public IDictionary<string, string>? CustomHeader { get; set; }
Property Value
Exchange
Exchange where the message is sent to.
public string Exchange { get; set; }
Property Value
IncludeRequestPayloadInResponse
Flag indicating whether to include the request payload in the response.
public bool IncludeRequestPayloadInResponse { get; set; }
Property Value
InitialServiceName
Name of the service or application sending the initial message.
Set with InitialServiceName
public string? InitialServiceName { get; set; }
Property Value
InitialUserName
Name of the user sending the initial message.
Set with InitialUserName.
public string? InitialUserName { get; set; }
Property Value
MessageId
AMQP message-id: Application message identifier.
public Guid MessageId { get; set; }
Property Value
MessageProperties
Gets or sets the message properties. The default is Default
public MessageProperties MessageProperties { get; set; }
Property Value
ReplyExchange
Exchange to which a reply should be sent.
public string ReplyExchange { get; set; }
Property Value
ReplyRoutingKey
Routing key which that should be used for the reply.
public string ReplyRoutingKey { get; set; }
Property Value
RoutingKey
Routing key for this message.
public string RoutingKey { get; set; }
Property Value
ServiceInstanceId
Unique ID identifying the service instance sending the message.
public Guid ServiceInstanceId { get; set; }
Property Value
ServiceName
Name of the service or application sending the message.
public string? ServiceName { get; set; }
Property Value
SpanId
OpenTelemetry span id. Format is based on a W3C standard.
public string? SpanId { get; set; }
Property Value
TraceId
OpenTelemetry trace id. Format is based on a W3C standard.
public string? TraceId { get; set; }