[rabbitmq-discuss] Federated Exchange Advice

Simon MacMullen simon at rabbitmq.com
Thu Sep 6 10:43:15 BST 2012

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 :-)

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.

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.

Cheers, Simon

On 05/09/2012 11:19PM, Ilya Volodarsky wrote:
> Hi,
> I was trying to set up a federated exchange topology today, and had a
> bit of trouble. I have a /production /broker with an exchange called
> *ingestion*, which receives tasks from our API servers. There are queues
> bound to this exchange that consume it and process the API tasks.
> I then created a mirror cluster with a /staging /broker, and also
> created an exchange called *ingestion. *I wanted to route everything
> going from the /production/ broker's *ingestion* exchange to
> the/staging/ broker's *ingestion* exchange.
> I created a federated exchange called*production-ingestion* on the
> /staging/ broker, and that created a*staging-ingestion* upstream
> exchange on the/production/ broker.
> I first did an exchange-bind on the /staging/ broker:
> *production-ingestion *=> *ingestion*
> I then did an exchange-bind on the/production/ broker with source:
> *ingestion*  => *staging-ingestion*
> I saw no traffic going between the computers. I read that the federation
> plugin only transfers things it has subscriptions for, but is an
> exchange binding not counted as a subscription? If so, it feels like I
> am setting this up wrong. Some guidance would be very appreciated.
> Thanks,
> Ilya
> _______________________________________________
> 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