Class PipelineDeadLetterOptions
- Namespace
- Pipelinez.Core.DeadLettering
- Assembly
- Pipelinez.dll
Configures how the pipeline handles dead-letter writes and dead-letter events.
public sealed class PipelineDeadLetterOptions
- Inheritance
-
PipelineDeadLetterOptions
- Inherited Members
Properties
CloneMetadata
Gets a value indicating whether metadata should be cloned when dead-letter envelopes are created.
public bool CloneMetadata { get; init; }
Property Value
EmitDeadLetterEvents
Gets a value indicating whether dead-letter success and failure events should be emitted.
public bool EmitDeadLetterEvents { get; init; }
Property Value
TreatDeadLetterFailureAsPipelineFault
Gets a value indicating whether a dead-letter write failure should fault the pipeline.
public bool TreatDeadLetterFailureAsPipelineFault { get; init; }
Property Value
Methods
Validate()
Validates the configured options.
public PipelineDeadLetterOptions Validate()
Returns
- PipelineDeadLetterOptions
The validated options instance.