[rabbitmq-discuss] Multiple Bindings to the Default Exchange

David Legg David.Legg at smithelectric.com
Mon Jun 24 14:35:06 BST 2013


Yer, I thought so. Thanks Simon.


Yes, it is the default exchange I'm talking about. You can't just
arbitrarily bind a queue to the default exchange with a routing key like
you can with others. Alas, changing the publishers is not going to be
possible right now.

Firehose looks like the only way I'll be able to approach this.


On 24/06/2013 11:11, "Simon MacMullen" <simon at rabbitmq.com> wrote:
>That's not correct if the direct exchange in question is the default
>exchange - the default exchange is quite a lot more magical than other
>direct exchanges. Really it can be thought of as a way to express
>"publish to queue" in an API which assumes publishing to exchanges.
>
>So to the OP, I'm afraid you can't do that.
>
>The best you can do would be use the firehose
>http://www.rabbitmq.com/firehose.html to grab the messages as they are
>published. But that will rewrite message headers (not bodies). Other
>than that you'd need to modify the publisher.
>
>Cheers, Simon
>
>-- 
>Simon MacMullen
>RabbitMQ, Pivotal



More information about the rabbitmq-discuss mailing list