On 11/29/2013 02:47 PM, Toralf Lund wrote:
On 29/11/13 14:00, Gordon Sim wrote:When creating the receiver for responses, use an address like e.g. "amq.direct/#; {node:{type:topic}}",That simple, eh? I somehow imagined that I had to explicitly set up bindings via e.g. x-bindings, and also carefully specify queue options, but if create a "response receiver" as in the example, I get a queue likeamq.direct_029980d6-e626-423a-b09f-dc88e939eddc auto-del excl with bindings (from qpid-config queues bind) Queue 'amq.direct_029980d6-e626-423a-b09f-dc88e939eddc' bind [amq.direct_029980d6-e626-423a-b09f-dc88e939eddc] => '' bind [241b5d96-d17f-4976-99ed-8d933ee031f2] => amq.direct which is of course exactly what I want. One issue is that at least on my setup, you can't really use the shorthand suggested above as '#' won't be expanded when it's part of the subject (instead of the name), but that's a minor problem.
Yes, sorry. I did realise that when hacking the example and so manually added the uuid (the expansion only works if it is the first character in the address). However I forgot to then update the email (the patched example should work though).
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
