<p>Hi Wes, shovel will indeed enter an endless loop if you set it up symmetrically between two brokers. Federation instead has been designed with an option maxHops which prevents messages from looping. You should check it out.</p>

<div class="gmail_quote">On Jan 26, 2012 1:23 AM, &quot;Wes Smith&quot; &lt;<a href="mailto:Wes_Smith@echopass.com">Wes_Smith@echopass.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">Situation:<u></u><u></u></p><p class="MsoNormal">Each RabbitMQ cluster has multiple nodes (2). My platform I�m working with has 2 datacenters each with a RabbitMQ cluster. I need to configure RabbitMQ such that any message published to any exchange on any node can be consumed by a queue on either cluster.<u></u><u></u></p>
<p class="MsoNormal"><u></u>�<u></u></p><p class="MsoNormal">From the web and also a support ticket/question with VMWare I am to understand that clustering across the WAN should not be done. I�ve been pointed at the shovel plugin to handle communications from one data center to the other. I�ve been experimenting with shovel a little to figure out how to do this, but I seem to have a loop going on where a published message from datacenter A goes to datacenter B, but then B goes ahead and shovels it right back to A (more than 800 times per second).<u></u><u></u></p>
<p class="MsoNormal"><u></u>�<u></u></p><p class="MsoNormal">I�ve seen a video from 2009 (Tony Garnock-Jones) that discusses this and indicated that shovel was being modified to only handle this scenario to look at some labels to determine if the message has been to the current node, and just drop it if it has.� This change does not appear to have happened, unless I�m missing something.<u></u><u></u></p>
<p class="MsoNormal"><u></u>�<u></u></p><p class="MsoNormal">Does anyone have a similar scenario or know how to handle high availability peer-to-peer connections across a WAN with RabbitMQ?<u></u><u></u></p><p class="MsoNormal">
<u></u>�<u></u></p><p class="MsoNormal">-Wes<u></u><u></u></p></div></div><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div>