Thanks Simon. I was using RabbitMQ management console to set up the exchange to exchange bindings, and the upstream exchanges showed up as "production-ingestion from rabbit@hostname", and when I tried to bind ingestion to production-ingestion, it wouldn't let me saying that the exchange didnt exist. I had to give the full upstream exchange name which looked precarious since it contained the actual hostname of the connecting computer. <div>
<br></div><div>Do you think that doing that / or using RMQ management console could have something to do with it? </div><div><br></div><div>Thanks,</div><div><br></div><div>Ilya<br><br><div class="gmail_quote">On Thu, Sep 6, 2012 at 2:43 AM, Simon MacMullen <span dir="ltr"><<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So this certainly sounds like it *should* work. At the very least, part of our test suite asserts that e2e bindings get routed upstream just like queue bindings :-)<br>
<br>
I think one way to simplify what you're doing would be for the staging broker to just contain a federated "ingestion" exchange, with an upstream of the production server's "ingestion" exchange, with no extra intermediate exchanges. (The upstream exchange does not need to be federated, unless it in turn has upstreams.) That sounds like a simpler way to get what you want, but what you are trying *should* work.<br>
<br>
One possibility is that you haven't set up some of the intermediate bindings correctly? If you want to proceed with your current setup you could try binding queues to each exchange in the chain and seeing how far messages are getting.<br>
<br>
Cheers, Simon<br>
<br>
On 05/09/2012 11:19PM, Ilya Volodarsky wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I was trying to set up a federated exchange topology today, and had a<br>
bit of trouble. I have a /production /broker with an exchange called<br>
*ingestion*, which receives tasks from our API servers. There are queues<br>
bound to this exchange that consume it and process the API tasks.<br>
<br>
I then created a mirror cluster with a /staging /broker, and also<br>
created an exchange called *ingestion. *I wanted to route everything<br>
going from the /production/ broker's *ingestion* exchange to<br>
the/staging/ broker's *ingestion* exchange.<br>
<br>
I created a federated exchange called*production-ingestion* on the<br>
/staging/ broker, and that created a*staging-ingestion* upstream<br>
exchange on the/production/ broker.<br>
<br>
I first did an exchange-bind on the /staging/ broker:<br>
*production-ingestion *=> *ingestion*<br>
I then did an exchange-bind on the/production/ broker with source:<br>
*ingestion* => *staging-ingestion*<br>
<br>
I saw no traffic going between the computers. I read that the federation<br>
plugin only transfers things it has subscriptions for, but is an<br>
exchange binding not counted as a subscription? If so, it feels like I<br>
am setting this up wrong. Some guidance would be very appreciated.<br>
<br>
Thanks,<br>
<br>
Ilya<br>
<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
<br>
</blockquote>
</blockquote></div><br></div>