[rabbitmq-discuss] alternate exchange
Steven Taylor
taylste at gmail.com
Thu Feb 16 13:36:18 GMT 2012
Hi Emile,
I always use topic or direct exchanges. I was confused by that empty
string routing key. thanks.
So that means if the exchange is declared topic or direct, that the normal
rules will apply.
So I suppose the catch-all could be the last fan-out in the alternate
exchange chain .
-Steven
On 16 February 2012 12:48, Emile Joubert <emile at rabbitmq.com> wrote:
> Hi Steve,
>
> On 16/02/12 12:13, Steven Taylor wrote:
> > so the routing key of "" in the example is a catch-all?
>
> Sorry I misunderstood your question. The empty routing key has no
> special significance in the context of alternative exchanges. Fanout
> exchanges ignore the routing key so the it doesn't matter what value you
> supply.
>
> Messages that are sent to the "my-ae" exchange by whatever means
> (directly from a publisher or in its capacity as alternative exchange of
> "my-direct") will be routed to the "unrouted" queue, regardless of the
> message routing keys.
>
>
> -Emile
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120216/9805be8a/attachment.htm>
More information about the rabbitmq-discuss
mailing list