Skip to content
Discussion options

You must be logged in to vote

I don't think I understand what the goal is, as .test. is a weird routing key since it starts with a segment separator. The segments are then ["", "test", ""]. * matches a single segment in AMQP 0-9-1, including when it is empty (or at least the spec does not special case an empty segment, and neither does the RabbitMQ topic exchange routing implementation IIRC).

You bind the same queue twice with two routing patterns. Regardless of which one of them matches, the same queue will end up containing both "kinds" of messages. Usually if you want to separate messages you must also use different queues, otherwise why use different routing patterns at all.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by ucdo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants
Converted from issue

This discussion was converted from issue #9834 on October 31, 2023 09:24.