[rabbitmq-discuss] How to bind two exchanges without routing key

Alvaro Videla videlalvaro at gmail.com
Mon Mar 31 16:02:17 BST 2014


I've fixed the blog post so the graphics are displayed:

To bind to an exchange with an empty routing key you can do:
ch.exchangeBind("source", "destination", "");

See exchangeBind here:

About loading exchange definitions at startup, see this:



On Mon, Mar 31, 2014 at 4:21 PM, rails <stammailbox at gmail.com> wrote:
> I need to listen to all messages going through my rabbit server.
> I was offered in this forum to bind another exchange and move all the
> messages to it
> So I found ExchangeBind()
> problem:
> 1. https://www.rabbitmq.com/blog/2010/10/19/exchange-to-exchange-bindings/
> a. This page lacks the full explanation.
> b. Due to a bug The picture do not apear.
> 2. I want to move all the messages to the other exchange and in the method I
> have to define a routing key
> 3. How Can I configure this state in files (so in a new rabbit instance it
> will be loaded before the first client runs.)
> Thanks.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

More information about the rabbitmq-discuss mailing list