[rabbitmq-discuss] exchange.bind in erlang

Michael Klishin mklishin at gopivotal.com
Tue Feb 18 12:41:18 GMT 2014


On 18 Feb 2014, at 16:09, PONMUTHU M <ponmuthu at omnesysindia.com> wrote:

> 1. i want all E2 msg to E1  .. its done with routing_key = <<"#">>
> 2.few of msg should be come from E1 to E2 . say example : routing_key =
> #.reply1.# or #.reply2.#
> 
> am strucking in second point !!!!.
> 
> when reply1 & reply2 msg recvied from E1 to E2 , that also routed to E1
> again using point 1.
> 
> how to avoid this ... ?

A routing key “#” will match everything. Why don’t you make it

requests.# and replies.#reply1.#/replies.#reply2.#

to disambiguate.

MK

Software Engineer, Pivotal/RabbitMQ




More information about the rabbitmq-discuss mailing list