[rabbitmq-discuss] Query for Binding with similar topic routing keys returns all similar vs the one matching
Helena Edelson
hedelson at vmware.com
Sat Oct 8 17:20:57 BST 2011
Perhaps my query is wrong but the docs are not specific in how to format the pattern for props: /api/bindings/vhost/e/exchange/q/queue/props
I tried a few such as:
/api/bindings/vhost/e/exchange/q/queue/{"routing_key":"my_routing_key","arguments":[]}
/api/bindings/vhost/e/some_exchange/q/some_queue/some_pattern
Can you offer a sample perhaps to explicitly pass this where props go?
Thanks,
Helena
________________________________________
From: Helena Edelson
Sent: Saturday, October 08, 2011 11:55 AM
To: rabbitmq-discuss at lists.rabbitmq.com
Subject: Query for Binding with similar topic routing keys returns all similar vs the one matching
Hi,
Given
/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?
Thanks,
Helena
More information about the rabbitmq-discuss
mailing list