[rabbitmq-discuss] Trying to handle ConnectionShutdown event
Tim Watson
tim at rabbitmq.com
Wed Nov 28 12:55:43 GMT 2012
On 28 Nov 2012, at 12:48, Bernhard Mogens Ege wrote:
> But this fails as I am not allowed to call QueueDeclare with the originally returned queueName. It looks like this: “amq.gen-g9hUDvDfwwO4YvlhRsGaZj”.
>
> I take it RabbitMQ/AMQP does not allow one to recreate queues with such autogenerated names. Do I have to make my own random name generator for queues in order to allow for recreation of queues (or use predefined static queuenames)?
>
You need to create queues that are *not* marked as exclusive/auto-delete: Those queues are deleted when the (exclusive) connection ends. HTH!
Cheers,
Tim
More information about the rabbitmq-discuss
mailing list