[rabbitmq-discuss] About RabbitMQ federation plugin

Simon MacMullen simon at rabbitmq.com
Tue Jan 17 11:00:29 GMT 2012


On 17/01/12 06:50, Brian Jing wrote:
> I've played with the federation plugin a little. It seems that in order
> to send a message to a queue on the downstream server, the same queue
> has to be declared on the upstream server for federation to work?

No, that should definitely not be the case.

The federation plugin is meant to send bindings upstream automatically 
(so that it does not just send all messages upstream -> downstream, but 
only the ones that will be routed once they get downstream).

When you bind a queue to the downstream exchange with routing key A, you 
should see a similar binding appear between the upstream exchange and 
the intermediate upstream exchange (called something like "federation: 
name -> name {A|B}". Is that happening?

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, VMware


More information about the rabbitmq-discuss mailing list