Table of Contents

Class DeadLetterDocument<T>

Namespace
Excalibur.Data.OpenSearch
Assembly
Excalibur.Data.OpenSearch.dll

Represents a dead letter document stored in OpenSearch.

public sealed class DeadLetterDocument<T> where T : class

Type Parameters

T

The type of the original document.

Inheritance
DeadLetterDocument<T>
Inherited Members

Properties

ErrorMessage

Gets or sets the error message.

public string ErrorMessage { get; set; }

Property Value

string

The error message.

ErrorType

Gets or sets the error type.

public string ErrorType { get; set; }

Property Value

string

The error type.

OriginalDocument

Gets or sets the original document that failed processing.

public T? OriginalDocument { get; set; }

Property Value

T

The original document that failed processing.

RetryCount

Gets or sets the number of retry attempts.

public int RetryCount { get; set; }

Property Value

int

The number of retry attempts.

Timestamp

Gets or sets the timestamp when the dead letter was created.

public DateTimeOffset Timestamp { get; set; }

Property Value

DateTimeOffset

The timestamp when the dead letter was created.