[rabbitmq-discuss] Dynamic queue problem
videlalvaro at gmail.com
Mon Sep 10 19:19:02 BST 2012
Also keep in mind that a queue_declare always returns the queue name, even
if it was generated by the server. So provided your queue is not
auto-deleted then you could keep that name somewhere and use it for your
On Mon, Sep 10, 2012 at 8:14 PM, Matthias Radestock
<matthias at rabbitmq.com>wrote:
> On 10/09/12 19:00, Francesco Mazzoli wrote:
>> At Mon, 10 Sep 2012 23:17:20 +0530, Bhaskar teja wrote:
>>> How can we connect to the old dynamic queue so that we dont loose
>>> any messages in that queue?
>> In AMQP you can use an empty queue name to connect to the last
>> created queue - if you're not creating any other queues in the
>> meantime that will help.
> That "most recently declared queue" feature of AMQP operates per
> channel, which isn't going to help the OP when restarting their consumers.
> If you can give a name to a queue, I'd do it.
> Dynamic queue are generally used for disposable queue (e.g. queue
>> with auto_delete).
> 'exclusive', actually. auto_delete is typically employed in the context of
> having multiple consumers of a queue. That implies they all need to know
> the queue's name, which therefore usually won't be server-generated.
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.**rabbitmq.com<rabbitmq-discuss at lists.rabbitmq.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss