Need help debugging a policy matching behavior #11878
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
@bsiara please never use issues for questions in repositories that have them enabled. If policy pattern matching was "broken" we would be flooded with such questions but that's not the case. For starters, note that you have two policies with identical priorities. In which case RabbitMQ will randomly select the applicable one. On an unrelated note, your settings suggest that you use classic mirrored queues, which have been removed from RabbitMQ for 4.x after three years of deprecation. Please move to quorum queues and/or non-replicated classic queues, both of which can be federated. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
You should simplify your regex.
As for the other regex, you should make similar simplifications. |
Beta Was this translation helpful? Give feedback.
@bsiara please never use issues for questions in repositories that have them enabled.
If policy pattern matching was "broken" we would be flooded with such questions but that's not the case.
For starters, note that you have two policies with identical priorities. In which case RabbitMQ will randomly select the applicable one.
On an unrelated note, your settings suggest that you use classic mirrored queues, which have been removed from RabbitMQ for 4.x after three years of deprecation. Please move to quorum queues and/or non-replicated classic queues, both of which can be federated.