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

rails stammailbox at gmail.com
Mon Mar 31 16:45:23 BST 2014


Hi Alvaro.
Thanks for the quick fix

BTW: Going over your book helped me a lot in planning my pub sub system.
Thanks. :-)


On Mon, Mar 31, 2014 at 6:02 PM, Alvaro Videla <videlalvaro at gmail.com>wrote:

> Hi,
>
> I've fixed the blog post so the graphics are displayed:
> http://www.rabbitmq.com/blog/2010/10/19/exchange-to-exchange-bindings/
>
> To bind to an exchange with an empty routing key you can do:
> ch.exchangeBind("source", "destination", "");
>
> See exchangeBind here:
>
> http://www.rabbitmq.com/releases/rabbitmq-java-client/v3.2.4/rabbitmq-java-client-javadoc-3.2.4/
>
> About loading exchange definitions at startup, see this:
> http://www.rabbitmq.com/management.html#load-definitions
>
> Regards,
>
> Alvaro
>
> 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
> >
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140331/38b63786/attachment.html>


More information about the rabbitmq-discuss mailing list