Hi,<br>This is from amqp 0-8 spec (<a href="http://www.amqp.org/confluence/download/attachments/720900/amqp0-8.xml">http://www.amqp.org/confluence/download/attachments/720900/amqp0-8.xml</a>)<br><br>definition of parameters for consume:<br>
<field name="exclusive" type="bit"><br> request exclusive access<br><doc><br> Request exclusive consumer access, meaning only this consumer can<br> access the queue.<br></doc><br>
<doc name="rule" test="amq_basic_02"><br> If the server cannot grant exclusive access to the queue when asked,<br> - because there are other consumers active - it MUST raise a channel<br>
exception with return code 403 (access refused).<br></doc><br><br><br><div class="gmail_quote">On Mon, Oct 11, 2010 at 8:35 PM, Brennan Sellner <span dir="ltr"><<a href="mailto:bsellner@seegrid.com">bsellner@seegrid.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi all,<br>
<br>
Does anyone have a preferred mechanism for creating what amounts to a<br>
durable, exclusive queue? We need durable queues, and want to ensure<br>
that only one client subscribes to each queue at a time. I'm not seeing<br>
an AMQP way to do this, since exclusive and durable are mutually<br>
exclusive: am I missing something?<br>
<br>
Alternatively, I could hack around this if there were a way to retrieve<br>
the number of clients subscribed to a given queue, but again I haven't<br>
been able to find any way to get that information.<br>
<br>
We're using Rabbit 2.1.0, with txAMQP 0.3.<br>
<br>
Thanks,<br>
<br>
-Brennan<br>
<br>
<br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</blockquote></div><br>