Table of Contents

Class PipelineDeadLetterRecord<T>

Namespace
Pipelinez.Core.DeadLettering
Assembly
Pipelinez.dll

Represents the full dead-letter envelope persisted for a terminally handled pipeline record.

public sealed class PipelineDeadLetterRecord<T> where T : PipelineRecord

Type Parameters

T

The pipeline record type captured in the dead-letter envelope.

Inheritance
PipelineDeadLetterRecord<T>
Inherited Members

Properties

CreatedAtUtc

Gets the timestamp when the container carrying the record was created.

public required DateTimeOffset CreatedAtUtc { get; init; }

Property Value

DateTimeOffset

DeadLetteredAtUtc

Gets the timestamp when the record was written to the dead-letter destination.

public required DateTimeOffset DeadLetteredAtUtc { get; init; }

Property Value

DateTimeOffset

Distribution

Gets the distributed execution context associated with the record.

public required PipelineRecordDistributionContext Distribution { get; init; }

Property Value

PipelineRecordDistributionContext

Fault

Gets the fault state that caused the record to be dead-lettered.

public required PipelineFaultState Fault { get; init; }

Property Value

PipelineFaultState

Metadata

Gets the metadata associated with the record at dead-letter time.

public required MetadataCollection Metadata { get; init; }

Property Value

MetadataCollection

Record

Gets the original record that was dead-lettered.

public required T Record { get; init; }

Property Value

T

RetryHistory

Gets the retry history recorded for the record.

public required IReadOnlyList<PipelineRetryAttempt> RetryHistory { get; init; }

Property Value

IReadOnlyList<PipelineRetryAttempt>

SegmentHistory

Gets the execution history recorded for pipeline segments that processed the record.

public required IReadOnlyList<PipelineSegmentExecution> SegmentHistory { get; init; }

Property Value

IReadOnlyList<PipelineSegmentExecution>

Methods

Validate()

Validates that the dead-letter envelope contains the required values.

public void Validate()