Hi Gordon,
Thanks for reply. I tried to do that anyway, but it seems that did not
work. I have a script that runs as a daemon and creates a session to
read messagens from a queue. Even with x-declare, other scripts can
create sessions to read messages from the same queue, and I need to
avoid this.
Is there some additional configuration required on the server to do this?
On 06-12-2013 13:50, Gordon Sim wrote:
On 12/06/2013 03:43 PM, Marcelo Vieira wrote:
Is there a way to create a new and exclusive queue that accepts only one
session at a time? I'm trying to use 'qpid-config' command for this, is
there any parameter to do that?
I tried using the configuration x-declare: {auto-delete: false,
exclusive: true} in the creation of the session, but it seems to have
had no result
You can't really do it from qpid-config. However you can add that
x-declare to the node properties of the addres you use to create the
sender/receiver/publisher/consumer, e.g
my-queue; {node:{x-declare: {auto-delete: false, exclusive: true}}}
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org