Re: How to create an exclusive queue?
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 Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ pgpFDLbrdqgwr.pgp Description: PGP signature
Re: How to create an exclusive queue?
On 12/06/2013 05:52 PM, Marcelo Vieira wrote: 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. So they can consume from the queue even when the session would declared it as exclusive is still active? Can I ask what version of the server you are using? Is there some additional configuration required on the server to do this? No, there shouldn't be. I did however forget to add in the 'create:always' in the address. And if the queue already exists then the node properties would have no effect. So actually a better suggestion might be, e.g.: 'my-queue; {create:always, link:{x-subscribe:{exclusive:True}}}' That should prevent anyone else consuming from it. (There are - confusingly - two distinct notions of exclusivity in AMQP 0-10. The queue can be exclusive to a session or the consumer can request that it is the exclusive consumer0. 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 - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: How to create an exclusive queue?
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
Re: How to create an exclusive queue?
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
How to create an exclusive queue?
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 - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
RE: Windows Mobile 6.5
Hi Ryan, The users list is the best place for this type of question. You actually may want to consider the AMQP Messenger API in the Proton kit - that would get you AMQP 1.0 via a C API. Again, nobody has tried that on Win Mobile that I know of, but it does run on Windows. -Steve > -Original Message- > From: Ryan Finnesey [mailto:r...@finnesey.com] > Sent: Thursday, December 05, 2013 10:17 PM > To: users@qpid.apache.org; d...@qpid.apache.org > Subject: Windows Mobile 6.5 > > I was not certain if this should be posted to the Users or Developers list > but I > wanted to get the group(s) thoughts on my options on implementing AMQP > 1.0 within a Windows Mobile 6.5 Application.The development > environment is .net CF 3.5. I need to be able to connect to the Azure > Service Bus. > > Cheers > Ryan > > > - > 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
Re: Deadlock when using amqp-1-0 client to connect to amqp-0-9-1 broker
Hi Brian, let raise it in upstream JIRA: https://issues.apache.org/jira/browse/QPID Kind regards, Pavel Moravec - Original Message - > From: "Brian" > To: users@qpid.apache.org > Sent: Friday, December 6, 2013 3:40:24 AM > Subject: Re: Deadlock when using amqp-1-0 client to connect to amqp-0-9-1 > broker > > I wanted to report it as a bug for development team, but don't know how. > Anyone can help? > > > > -- > View this message in context: > http://qpid.2158936.n2.nabble.com/Deadlock-when-using-amqp-1-0-client-to-connect-to-amqp-0-9-1-broker-tp7601480p7601532.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > - > 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