[rabbitmq-discuss] Multiple Bindings to the Default Exchange
maze at reik.se
Mon Jun 24 16:36:09 BST 2013
Sticking out my head here, but ...
... if you can't change your publishers, can you change your consumers?
If so, can't you reroute your messages from the default exchange to
and do the processing then against that other exchange?
On 2013-06-24 15:35 , David Legg wrote:
> 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
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
More information about the rabbitmq-discuss