Skip to content
Discussion options

You must be logged in to vote

dead-letter-strategy by itself does not create a dead-letter target. It only changes how quorum queues perform dead-lettering once a DLX is actually configured.

For a quorum queue, the DLX destination still comes from dead-letter-exchange and optionally a routing key. Without dead-letter-exchange, there is nowhere for the message to be republished, so you should not expect the at-least-once dead-letter worker behavior just because dead-letter-strategy is set.

The practical policy should include both pieces if you want quorum queue at-least-once dead lettering:

rabbitmqctl set_policy qq-dlx '^qq\.' \
  '{"dead-letter-exchange":"my-dlx","dead-letter-strategy":"at-least-once"}' \
  --apply-t…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rsperl
Comment options

Answer selected by rsperl
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants