Table of Contents

Class MessageHeaders

Namespace
MassTransit
Assembly
MassTransit.Abstractions.dll
public static class MessageHeaders
Inheritance
MessageHeaders
Inherited Members

Fields

ClientId

Identifies the client from which the request is being sent

public const string ClientId = "MT-Request-ClientId"

Field Value

string

ContentType

When a transport header is used, this is the name

public const string ContentType = "Content-Type"

Field Value

string

ConversationId

ConversationId - MessageEnvelope

public const string ConversationId = "ConversationId"

Field Value

string

CorrelationId

CorrelationId - MessageEnvelope

public const string CorrelationId = "CorrelationId"

Field Value

string

EndpointId

Identifies the endpoint that handled the request

public const string EndpointId = "MT-Request-EndpointId"

Field Value

string

FaultAddress

FaultAddress - MessageEnvelope

public const string FaultAddress = "MT-Fault-Address"

Field Value

string

FaultConsumerType

The consumer type which faulted

public const string FaultConsumerType = "MT-Fault-ConsumerType"

Field Value

string

FaultExceptionType

The type of exception from a Fault

public const string FaultExceptionType = "MT-Fault-ExceptionType"

Field Value

string

FaultInputAddress

The input address of the endpoint on which the fault occurred

public const string FaultInputAddress = "MT-Fault-InputAddress"

Field Value

string

FaultMessage

The exception message from a Fault

public const string FaultMessage = "MT-Fault-Message"

Field Value

string

FaultMessageType

The message type from a Fault

public const string FaultMessageType = "MT-Fault-MessageType"

Field Value

string

FaultRedeliveryCount

The number of times the message was redelivered

public const string FaultRedeliveryCount = "MT-Fault-RedeliveryCount"

Field Value

string

FaultRetryCount

The number of times the message was retried

public const string FaultRetryCount = "MT-Fault-RetryCount"

Field Value

string

FaultStackTrace

The stack trace from a Fault

public const string FaultStackTrace = "MT-Fault-StackTrace"

Field Value

string

FaultTimestamp

The timestamp when the fault occurred

public const string FaultTimestamp = "MT-Fault-Timestamp"

Field Value

string

ForwarderAddress

The endpoint that forwarded the message to the new destination

public const string ForwarderAddress = "MT-Forwarder-Address"

Field Value

string

FutureId

Used in routing slip variables to store the correlationId of a future

public const string FutureId = "FutureId"

Field Value

string

InitiatingConversationId

The initiating conversation id if a new conversation was started by this message

public const string InitiatingConversationId = "MT-InitiatingConversationId"

Field Value

string

InitiatorId

InitiatorId - MessageEnvelope

public const string InitiatorId = "MT-InitiatorId"

Field Value

string

MessageId

MessageId - MessageEnvelope

public const string MessageId = "MessageId"

Field Value

string

MessageType

MessageType - MessageEnvelope

public const string MessageType = "MT-MessageType"

Field Value

string

OriginalMessageId

When the message is redelivered or scheduled, and a new MessageId was generated, the original messageId

public const string OriginalMessageId = "MT-OriginalMessageId"

Field Value

string

QuartzTriggerKey

The trigger key that was used when the scheduled message was trigger

public const string QuartzTriggerKey = "MT-Quartz-TriggerKey"

Field Value

string

Reason

The reason for a message action being taken

public const string Reason = "MT-Reason"

Field Value

string

RedeliveryCount

The number of times the message has been redelivered (zero if never)

public const string RedeliveryCount = "MT-Redelivery-Count"

Field Value

string

RequestId

RequestId - MessageEnvelope

public const string RequestId = "RequestId"

Field Value

string

ResponseAddress

ResponseAddress - MessageEnvelope

public const string ResponseAddress = "MT-Response-Address"

Field Value

string

SchedulingTokenId

The tokenId for the message that was registered with the scheduler

public const string SchedulingTokenId = "MT-Scheduling-TokenId"

Field Value

string

SourceAddress

SourceAddress - MessageEnvelope

public const string SourceAddress = "MT-Source-Address"

Field Value

string

TransportMessageId

The Transport message ID, which is a string, because we can't assume anything

public const string TransportMessageId = "TransportMessageId"

Field Value

string