[rabbitmq-discuss] Queues and auto_delete
matthias at lshift.net
Thu Aug 6 20:39:51 BST 2009
Garrett Smith wrote:
> On Thu, Aug 6, 2009 at 2:08 PM, Matthias Radestock<matthias at lshift.net> wrote:
>> Is your queue declared with exclusive=true?
> I only want a single consumer from the queue, but the queue needs to
> stick around to collected messages even when the consumer is
Exclusivity is on a per-connection basis. It sounds like you want a
notion of exclusivity based on consumer identity. That is not directly
supported by AMQP, but you can simulate it quite faithfully by declaring
an ordinary (non-auto-delete, non-exclusive) queue with a name that is
known only to the intended consumer.
More information about the rabbitmq-discuss