I cross-posted this on the JIRA so I'll report it here incase anyone wants a discussion :)
I think the JIRA title is perhaps a little misleading, given the number of tests running that show it does work to an extent. Perhaps 'doesn't work when used on queues not originally declared no-local' would be clearer. The BURL usage may always send the queue declare, but redeclaring a queue that exists wont make it no-local. The client currently only sends the no-local argument during queue creation as you mentioned, but there is support in the protocol for adding arguments to subscriptions so it could potentially be added there too (The protocol actually has a no-local field on the file and stream consume methods, so why it doesn't on the standard subscribe method I'm not sure). Robbie On 13 February 2012 17:36, Rajith Attapattu <[email protected]> wrote: > IIRC the no-local argument is passed on during queue-declare. > But if you create a subscription with no-local=true on an existing > queue how should we handle this situation ? > > Perhaps there is also a way to pass no-local in the arguments map when > creating a subscription ? > > Regards, > > Rajith > > --------------------------------------------------------------------- > 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]
