I don't think that you have to go as far as creating another queue.
I'm pretty sure that you can have multiple bindings to the same queue.
I *think* it would look something like this (taken from your earlier
example), but I haven't tried it:
x-bindings:[{queue:myqueue,exchange:'my_exch',key: 'binding1',
arguments:{'x-match':any,'a':'10'}},
{queue:myqueue,exchange:'my_exch',key: 'binding2',
arguments:{'x-match':any,'a':'999'}}]
The above should be the equivalent of a match if a=10 or a=999, which is
I think what you want.
The key: 'binding1' and key: 'binding2' bits I added aren't strictly
necessary but if you don't have them then it's impossible to remove the
bindings (using say qpid-config) without also removing the queue.
Frase
sreuland wrote:
I see, so I have to create another queue such as 'myqueue2' with the binding
for a=10. Thanks for quik reply!
--
View this message in context:
http://apache-qpid-users.2158936.n2.nabble.com/are-multiple-values-for-a-single-key-in-x-match-qpid-address-string-possible-tp7055624p7055792.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]