[rabbitmq-discuss] Query for Binding with similar topic routing keys returns all similar vs the one matching
hedelson at vmware.com
Sat Oct 8 17:10:46 BST 2011
Updating my earlier message - I see in the returned properties_key a difference one can leverage.
My sample patterns - foo.bar.* and #.bar.*
The 2 bindings returned from querying for one binging included:
"properties_key":"%23.bar.%2A" => #.bar.*
"properties_key":"foo.bar.%2A" => foo.bar.*
I have something to parse for if multiple bindings are returned.
/api/bindings/vhost/e/exchange/q/queue/props An individual binding between an exchange and a queue.
I find that if I create multiple bindings of different but similar patterns between Q1 and E1, say foo.bar.* and #.bar.*, that when querying the broker via http mgmt api to GET one binding between Q1 and E1 where the pattern I pass in is foo.bar.*, that I get 2 bindings back vs one, foo.bar.* and #.bar.*, which makes sense but it would be nice if the mgmt api returned only the one I requested, i.e. the binding foo.bar.*
Bug? or am I misinterpreting?
More information about the rabbitmq-discuss