Re: How to create an exclusive queue?

2013-12-26 Thread Marcelo Vieira
On 10-12-2013 20:46, Ted Ross wrote: On 12/10/2013 05:54 AM, Gordon Sim wrote: On 12/09/2013 06:50 PM, Marcelo Vieira wrote: On 09-12-2013 16:22, Gordon Sim wrote: On 12/09/2013 06:18 PM, Marcelo Vieira wrote: In the script running as a daemon that read the messages, I'm using 'my_queue;

Re: How to create an exclusive queue?

2013-12-10 Thread Gordon Sim
On 12/09/2013 06:50 PM, Marcelo Vieira wrote: On 09-12-2013 16:22, Gordon Sim wrote: On 12/09/2013 06:18 PM, Marcelo Vieira wrote: In the script running as a daemon that read the messages, I'm using 'my_queue; {create:always, link:{x-subscribe:{exclusive:true}}}' The senders are using the

Re: How to create an exclusive queue?

2013-12-10 Thread Ted Ross
On 12/10/2013 05:54 AM, Gordon Sim wrote: On 12/09/2013 06:50 PM, Marcelo Vieira wrote: On 09-12-2013 16:22, Gordon Sim wrote: On 12/09/2013 06:18 PM, Marcelo Vieira wrote: In the script running as a daemon that read the messages, I'm using 'my_queue; {create:always,

Re: How to create an exclusive queue?

2013-12-09 Thread Gordon Sim
On 12/09/2013 06:18 PM, Marcelo Vieira wrote: In the script running as a daemon that read the messages, I'm using 'my_queue; {create:always, link:{x-subscribe:{exclusive:true}}}' The senders are using the address: my_queue; {node: {type: queue}} on the method createReceiver to open the session

Re: How to create an exclusive queue?

2013-12-09 Thread Marcelo Vieira
On 09-12-2013 16:22, Gordon Sim wrote: On 12/09/2013 06:18 PM, Marcelo Vieira wrote: In the script running as a daemon that read the messages, I'm using 'my_queue; {create:always, link:{x-subscribe:{exclusive:true}}}' The senders are using the address: my_queue; {node: {type: queue}} on the

Re: How to create an exclusive queue?

2013-12-07 Thread Fraser Adams
On 06/12/13 18:59, Darryl L. Pierce wrote: On Fri, Dec 06, 2013 at 06:15:52PM +, Gordon Sim wrote: So actually a better suggestion might be, e.g.: 'my-queue; {create:always, link:{x-subscribe:{exclusive:True}}}' QQ - does create:always recreate the queue each time, even if it already

How to create an exclusive queue?

2013-12-06 Thread Marcelo Vieira
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

Re: How to create an exclusive queue?

2013-12-06 Thread Gordon Sim
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,

Re: How to create an exclusive queue?

2013-12-06 Thread Marcelo Vieira
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

Re: How to create an exclusive queue?

2013-12-06 Thread Darryl L. Pierce
On Fri, Dec 06, 2013 at 06:15:52PM +, Gordon Sim wrote: So actually a better suggestion might be, e.g.: 'my-queue; {create:always, link:{x-subscribe:{exclusive:True}}}' QQ - does create:always recreate the queue each time, even if it already exists? -- Darryl L. Pierce, Sr. Software