Replies: 3 comments
-
This is a known behavior but there are no specific suggestions as to what can be done. The routing code is unaware of the direct reply-to mechanism. |
Beta Was this translation helpful? Give feedback.
-
For example, a new routing function with a clear name can be introduced, that would not track dropped messages, and be adopted exclusively by the Direct Reply To code path. A PR would be considered. |
Beta Was this translation helpful? Give feedback.
-
Just for the record, somewhat similar is the case of publishing to a delayed-message-exchange which also returns an empty queue list from The difference is that it is not part of rabbit core, but a plugin exchange type, so it might require a different solution. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
When there is a response message to the "pseudo-queue"
amq.rabbitmq.reply-to.RANDOM-ID
it is counted as an "Unroutable drop" message, which I think probably should not be the case.The reason it happens because delivering of the message is done in the
rabbit_exchange:route
function, which then filters this target out, so the return value ofroute
is an empty list.https://github.com/rabbitmq/rabbitmq-server/blob/main/deps/rabbit/src/rabbit_exchange.erl#L405
Which then falls through to below because of the empty queue list:
https://github.com/rabbitmq/rabbitmq-server/blob/main/deps/rabbit/src/rabbit_channel.erl#L2166-L2173
Reproduction:
amq.rabbitmq.reply-to
$QUEUE
$QUEUE
withreply_to
set toamq.rabbitmq.reply-to
reply_to
of the received messageUnroutable drop
on Grafana and ManagementSorry if this was already considered, I could not find an existing issue.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions