[rabbitmq-discuss] Issue with RabbitMQ 2-way federation setup

Rahul rahulkj at gmail.com
Thu Feb 6 23:04:18 GMT 2014


Hi,

I've been trying to setup a 2-way federation for my 2 nodes A and B.

I ran the following commands on Node A:

sudo rabbitmqctl set_parameter federation-upstream rabbit2
'{"uri":"amqp://<Node B IP>"}'
sudo rabbitmqctl set_parameter federation local-nodename '"rabbit1"'
sudo rabbitmqctl set_policy federate-me "^test\."
'{"federation-upstream-set":"test"}'


commands on Node B:

sudo rabbitmqctl set_parameter federation-upstream rabbit2
'{"uri":"amqp://<Node A IP>"}'
sudo rabbitmqctl set_parameter federation local-nodename '"rabbit2"'
sudo rabbitmqctl set_policy federate-me "^test\."
'{"federation-upstream-set":"test"}'


Now I created a fanout exchange and queue on Node A, namely
test.fanout-Exchange and test.fanout-Queue, using the RabbitMQ console.

When I publish a message using RabbitMQ console of Node A, I see the
message reaches the queue on Node A alone, and not on Node B.

Any clues?


-- 
Regards,
Rahul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140206/5fe64b7c/attachment.html>


More information about the rabbitmq-discuss mailing list