[rabbitmq-discuss] Question About Bindings

Alvaro Videla videlalvaro at gmail.com
Fri Apr 23 07:43:49 BST 2010


Thanks to both you. 

I needed to have that clear, since I'm writing an admin tool for RabbitMQ and I was seeing those blank exchanges popping up. 

Alvaro

On Apr 23, 2010, at 2:44 PM, Matthias Radestock wrote:

> Alvaro,
> 
> Tony Garnock-Jones wrote:
>> Alvaro Videla wrote:
>>> What are those anonymous exchanges?, like the one from the list head?
>> It's the binding to the AMQP "default exchange". Every queue is
>> automatically given a binding to a direct exchange named "" in AMQP
>> 0-8 and 0-9-1. It sorta kinda permits delivering messages directly to
>> queues, but I'd still recommend explicitly managing your own bindings
>> rather than relying on this default binding behaviour.
> 
> I disagree with Tony here. But he knows that ;)
> 
> Relying on the default exchange bindings is perfectly fine. They are in every 0-* AMQP spec and are widely supported by brokers. By contrast, attempting to manage these bindings (i.e. bindings to the default exchange) explicitly is prohibited by some versions of the spec and thus not guaranteed to work.
> 
> Regards,
> 
> Matthias.




More information about the rabbitmq-discuss mailing list