Table of Contents

Class MessageProcessingResult

Namespace
Excalibur.Dispatch.Transport
Assembly
Excalibur.Dispatch.Transport.Abstractions.dll

Result of processing a single message within a batch.

public sealed class MessageProcessingResult
Inheritance
MessageProcessingResult
Inherited Members
Extension Methods

Properties

ErrorMessage

Gets or sets the error message if failed.

public string? ErrorMessage { get; set; }

Property Value

string

The current ErrorMessage value.

Exception

Gets or sets the exception if one occurred.

public Exception? Exception { get; set; }

Property Value

Exception

The current Exception value.

IsSuccess

Gets or sets a value indicating whether processing was successful.

public bool IsSuccess { get; set; }

Property Value

bool

The current IsSuccess value.

MessageId

Gets or sets the message ID.

public string MessageId { get; set; }

Property Value

string

The current MessageId value.

MovedToDeadLetter

Gets or sets a value indicating whether the message was moved to DLQ.

public bool MovedToDeadLetter { get; set; }

Property Value

bool

The current MovedToDeadLetter value.

ProcessingDuration

Gets or sets the processing duration.

public TimeSpan ProcessingDuration { get; set; }

Property Value

TimeSpan

The current ProcessingDuration value.

ShouldRetry

Gets or sets a value indicating whether the message should be retried.

public bool ShouldRetry { get; set; }

Property Value

bool

The current ShouldRetry value.