<div dir="ltr"><span style="font-family: arial, sans-serif;">Hi,</span><div style="font-family: arial, sans-serif;"><br></div><div style="font-family: arial, sans-serif;">I've been trying to setup a 2-way federation for my 2 nodes A and B.</div><div style="font-family: arial, sans-serif;"><br></div><div style="font-family: arial, sans-serif;">I ran the following commands on Node A:</div><div style="font-family: arial, sans-serif;"><pre style="white-space: pre-wrap; font-family: Consolas, 'Liberation Mono', Courier, monospace; margin-top: 15px; margin-bottom: 15px; background-color: rgb(248, 248, 248); border: 1px solid rgb(221, 221, 221); line-height: 19px; overflow: auto; padding: 6px 10px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-wrap: normal; color: rgb(51, 51, 51);"><code style="font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; border-style: none; background-color: transparent; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-wrap: normal;">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":"<wbr>test"}'</code></pre></div><div style="font-family: arial, sans-serif;"><br></div><div style="font-family: arial, sans-serif;">commands on Node B:<br></div><div style="font-family: arial, sans-serif;"><pre style="white-space: pre-wrap; font-family: Consolas, 'Liberation Mono', Courier, monospace; margin-top: 15px; margin-bottom: 15px; background-color: rgb(248, 248, 248); border: 1px solid rgb(221, 221, 221); line-height: 19px; overflow: auto; padding: 6px 10px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-wrap: normal; color: rgb(51, 51, 51);"><code style="font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; border-style: none; background-color: transparent; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-wrap: normal;">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":"<wbr>test"}'</code></pre></div><div style="font-family: arial, sans-serif;"><br></div><div style="font-family: arial, sans-serif;"><div>Now I created a fanout exchange and queue on Node A, namely test.fanout-Exchange and test.fanout-Queue, using the RabbitMQ console.</div><div><br></div><div>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.</div><div><br></div><div>Any clues?</div></div></div>