Skip to content
On this page

Dead Letter Queues

By default, Wolverine will try to move dead letter messages in SQS to a single, global queue named "wolverine-dead-letter-queue."

That can be overridden on a single queue at a time (or by conventions too of course) like:

var host = await Host.CreateDefaultBuilder()
    .UseWolverine(opts =>

        // No dead letter queueing
        // Use a different dead letter queue
            .ConfigureDeadLetterQueue("important_errors", q =>
                // optionally configure how the dead letter queue itself
                // is built by Wolverine
                q.MaxNumberOfMessages = 1000;

snippet source | anchor

Released under the MIT License.