[rabbitmq-discuss] reusing auto-generated queue name

Grenier,Michel [CMC] Michel.Grenier at ssc-spc.gc.ca
Fri Sep 13 13:28:02 BST 2013


I did not want to share.
My consumer was stopped.  At that time the queue was piling up messages
for my consumer.
When restarting my consumer, I simply wanted to declare it and rebind
that auto-generated named queue.
I understand that it is not possible.

		Michel Grenier
		(514) 421-7204



-----Original Message-----
From: rabbitmq-discuss-bounces at lists.rabbitmq.com
[mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of
Michael Klishin
Sent: 12 September, 2013 17:05
To: Discussions about RabbitMQ
Subject: Re: [rabbitmq-discuss] reusing auto-generated queue name

Grenier,Michel [CMC]:

> Can't it  redeclare/bind with that name  to resume my message delivery
?

Applications cannot declare entities that start with amq.

Server-named queues are supposed to be used (and declared) only by
consumers. It makes no sense to use them if you share the name between
multiple services. In that case, use well known names that do not start
with amq.

If you really need to share a server-named queue name, you can declare
them with passive = true which will simply do nothing if the queue
exists and raise a channel exception if the queue does not exist.

MK





More information about the rabbitmq-discuss mailing list