Class DeadLetterChannelProcessor
Wraps an inner processor and, on uncaught exception, sends the exchange to the configured
dead-letter URI before re-throwing (when configured as transaction-aware so the outer
transaction can still roll back) or swallowing the exception (best-effort handle mode).
Apache Camel parity: errorHandler(deadLetterChannel("...")).
Producer is cached for the lifetime of the processor.
public sealed class DeadLetterChannelProcessor : IProcessor
Inheritance
Implements
Methods
Process(IExchange, CancellationToken)
Processes the exchange asynchronously.
public Task Process(IExchange exchange, CancellationToken ct = default)
Constructors
DeadLetterChannelProcessor(IRouteContext, IProcessor, string, bool, ILogger?)
Creates a dead-letter channel processor.