$ 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-<run>.billing	0	1
  invoices-<run>.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-<run>
  x-original-routingKey = invoices-<run>
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-<run>.billing	0	1
  invoices-<run>.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-<run>.billing
  x-first-death-reason = rejected
  x-death: reason=rejected queue=invoices-<run>.billing count=1
DLQ header has x-exception-stacktrace: false
