[rabbitmq-discuss] there is a Consumer connected?
Alexander Ward
alexander.ward at quibids.com
Mon Jun 11 19:55:02 BST 2012
Yeah, that does look a bit better than doing a passive declare before every
send. I'll give that a shot and see what happens.
Thanks Matthias!
-Alex
On Mon, Jun 11, 2012 at 1:06 PM, Matthias Radestock
<matthias at rabbitmq.com>wrote:
> 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<http://www.rabbitmq.com/extensions.html#alternate-exchange>)
> to
> accomplish this more elegantly.
>
> Matthias.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120611/40fdc173/attachment.htm>
More information about the rabbitmq-discuss
mailing list