[rabbitmq-discuss] Durable exclusive queues
cybergrind at gmail.com
Mon Oct 11 22:07:08 BST 2010
This is from amqp 0-8 spec (
definition of parameters for consume:
<field name="exclusive" type="bit">
request exclusive access
Request exclusive consumer access, meaning only this consumer can
access the queue.
<doc name="rule" test="amq_basic_02">
If the server cannot grant exclusive access to the queue when asked,
- because there are other consumers active - it MUST raise a channel
exception with return code 403 (access refused).
On Mon, Oct 11, 2010 at 8:35 PM, Brennan Sellner <bsellner at seegrid.com>wrote:
> Hi all,
> Does anyone have a preferred mechanism for creating what amounts to a
> durable, exclusive queue? We need durable queues, and want to ensure
> that only one client subscribes to each queue at a time. I'm not seeing
> an AMQP way to do this, since exclusive and durable are mutually
> exclusive: am I missing something?
> Alternatively, I could hack around this if there were a way to retrieve
> the number of clients subscribed to a given queue, but again I haven't
> been able to find any way to get that information.
> We're using Rabbit 2.1.0, with txAMQP 0.3.
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss