$ profile rabbit, function definition = bill, auto-bind-dlq=true, max-attempts=3 --- republish-to-dlq=true (what application-rabbit.yml sets) --- bill attempts for the poison invoice: 3 queues (name, messages, consumers): invoices-.billing 0 1 invoices-.billing.dlq 1 0 DLQ payload: {"orderId":"p-r5a","customerId":"alice","total":-1.0} DLQ header names: [retry-count, x-exception-message, x-exception-stacktrace, x-original-exchange, x-original-routingKey] x-exception-message = Retry policy for operation 'org.springframework.integration.amqp.inbound.AmqpInboundChannelAdapter$Listener$$Lambda/0x...' exhausted; aborting execution x-original-exchange = invoices- x-original-routingKey = invoices- DLQ header has x-exception-stacktrace: true --- republish-to-dlq=false (broker-side dead lettering only) --- bill attempts for the poison invoice: 3 queues (name, messages, consumers): invoices-.billing 0 1 invoices-.billing.dlq 1 0 DLQ payload: {"orderId":"p-r5b","customerId":"alice","total":-1.0} DLQ header names: [x-death, x-first-death-exchange, x-first-death-queue, x-first-death-reason, x-last-death-exchange, x-last-death-queue, x-last-death-reason] x-first-death-queue = invoices-.billing x-first-death-reason = rejected x-death: reason=rejected queue=invoices-.billing count=1 DLQ header has x-exception-stacktrace: false