[rabbitmq-discuss] Messages not getting moved to the Upstream Federation, only empty queue is getting created.

Matthias Radestock matthias at rabbitmq.com
Mon Aug 12 08:42:31 BST 2013


On 12/08/13 08:30, k.madnani84 wrote:
> But the Upstream exchange gets created only when we send a message to some
> downstream exchange which adheres to the policy.

No exchanges or queues get created when messages are sent.

Your exchange.federate exchange will get created on the upstream when 
the downstream exchange is created. That's just for convenience; there 
is nothing stopping you creating the upstream exchange explicitly before 
hand.

> Could you please elaborate a bit taking my above example into
> consideration....

With the setup as you have it, a message published to the 
exchange.federate upstream (i.e. on your Cluster1) will get routed to 
the downstream (your Cluster2) and end up in your queue.federate queue.


Matthias.


More information about the rabbitmq-discuss mailing list