[rabbitmq-discuss] there is a Consumer connected?

Matthias Radestock matthias at rabbitmq.com
Mon Jun 11 19:06:03 BST 2012


Alexander,

On 11/06/12 15:37, Alexander Ward wrote:
> I do this in order to route requests to a specific machine/consumer
> cluster by declaring a queue with the name of the machine which is
> consuming. I check to see if the queue exists first, and if it does,
> I route the message to that queue [...], otherwise I send it to a
> general queue which is durable.

You could perhaps employ an alternate exchange
(http://www.rabbitmq.com/extensions.html#alternate-exchange) to
accomplish this more elegantly.

Matthias.


More information about the rabbitmq-discuss mailing list