Skip to content

Dead lettering in quorum queues #1820

Closed Answered by michaelklishin
blendereru asked this question in Q&A
Discussion options

You must be logged in to vote

@blendereru because you use reject-publish. It cannot be used for cases where there is no publisher present, e.g. when a message is negatively acknowledged by a consumer or the message expires. Use drop-head and see the myriad of dead-lettering options quorum queues support.

While at it, consider never using x-arguments in your application code unless that's the only way to configure a setting. The DLX guide uses a policy in the very first example.

Why policies exist and are superior to hardcoding arguments in your applications is documented in multiple places.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by michaelklishin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants