Class DeadLetterMessage
- Namespace
- Excalibur.Dispatch.ErrorHandling
- Assembly
- Excalibur.Dispatch.Abstractions.dll
Represents a message that has been moved to the dead letter queue.
public sealed class DeadLetterMessage
- Inheritance
-
DeadLetterMessage
- Inherited Members
- Extension Methods
Properties
CorrelationId
Gets or sets the correlation ID for tracking related messages.
public string? CorrelationId { get; set; }
Property Value
- string
The current CorrelationId value.
ExceptionDetails
Gets or sets the exception details if the message failed due to an exception.
public string? ExceptionDetails { get; set; }
Property Value
- string
The current ExceptionDetails value.
FirstAttemptAt
Gets or sets the timestamp of the first processing attempt.
public DateTimeOffset? FirstAttemptAt { get; set; }
Property Value
- DateTimeOffset?
The current FirstAttemptAt value.
Id
Gets or sets the unique identifier of the dead letter message.
public string Id { get; set; }
Property Value
- string
The unique identifier of the dead letter message.
IsReplayed
Gets or sets a value indicating whether this message has been replayed.
public bool IsReplayed { get; set; }
Property Value
- bool
The current IsReplayed value.
LastAttemptAt
Gets or sets the timestamp of the last processing attempt.
public DateTimeOffset? LastAttemptAt { get; set; }
Property Value
- DateTimeOffset?
The current LastAttemptAt value.
MessageBody
Gets or sets the serialized message body.
public required string MessageBody { get; set; }
Property Value
- string
The current MessageBody value.
MessageId
Gets or sets the original message ID.
public required string MessageId { get; set; }
Property Value
MessageMetadata
Gets or sets the serialized message metadata.
public required string MessageMetadata { get; set; }
Property Value
- string
The current MessageMetadata value.
MessageType
Gets or sets the message type.
public required string MessageType { get; set; }
Property Value
- string
The current MessageType value.
MovedToDeadLetterAt
Gets or sets the timestamp when the message was moved to dead letter.
public DateTimeOffset MovedToDeadLetterAt { get; set; }
Property Value
- DateTimeOffset
The current MovedToDeadLetterAt value.
ProcessingAttempts
Gets or sets the number of processing attempts before moving to dead letter.
public int ProcessingAttempts { get; set; }
Property Value
- int
The current ProcessingAttempts value.
Properties
Gets or sets additional custom properties.
public Dictionary<string, string> Properties { get; set; }
Property Value
- Dictionary<string, string>
The current Properties value.
Reason
Gets or sets the reason why the message was moved to dead letter.
public required string Reason { get; set; }
Property Value
ReplayedAt
Gets or sets the timestamp when the message was replayed.
public DateTimeOffset? ReplayedAt { get; set; }
Property Value
- DateTimeOffset?
The current ReplayedAt value.
SourceSystem
Gets or sets the source system that originated the message.
public string? SourceSystem { get; set; }
Property Value
- string
The current SourceSystem value.