Class DeadLetterProcessor
Processor that routes failed exchanges to a dead letter channel.
When the inner processor throws and all retries are exhausted,
the exchange is forwarded to a configurable dead-letter endpoint.
Supports an optional for redelivery attempts before dead-lettering.
public sealed class DeadLetterProcessor : IProcessor
Inheritance
Implements
Methods
Process(IExchange, CancellationToken)
Processes the exchange asynchronously.
public Task Process(IExchange exchange, CancellationToken ct = default)
Constructors
DeadLetterProcessor(IProcessor, IProcessor, RetryPolicy?, ILogger?)
Creates a dead letter channel processor.