<p>Inline</p>
<p>On Jan 3, 2012 4:52 PM, "Letourneau, John P (John)" <<a href="mailto:john.letourneau@alcatel-lucent.com">john.letourneau@alcatel-lucent.com</a>> wrote:<br>
><br>
> Well, perhaps a bit more about my configuration 8-)<br>
><br>
> 3 nodes…call them N1, N2, N3.<br>
><br>
> On each I have federation configured.<br>
><br>
> N2 – exchange log, connects to N1/log and N3/log<br>
><br>
> N3 – exchange log, connects to N2/log<br>
><br>
> Right now I cannot seem to have the N1 exchange log connect to N2/log; will need to find out why sometime.<br>
><br>
> I do it this way so that regardless of where the producer of the log message is, everyone everywhere will see it.</p>
<p>If this is your aim, can't you simply federate the log exchange on each broker with the other two and set max hops to 1?</p>
<p>><br>
> <br>
><br>
> Each layer in the hierarchy only knows about nodes in adjacent layers…N2 being the busy one with a layer above and below.<br>
><br>
> If everyone has hops=1, sending a log message to N1/log will only go to N2 and not N3 [this is correct].<br>
><br>
> Setting hops=4, sending a log to N1/log will go to N2 and N3…it will also be returned to N2 thus a consumer on N2 will see the original msg AND the one sent via N2/N3 federation link. Also N3 sees it twice also for a total of once on N1, twice on N2, and twice on N3…the message took a total of 4 hops.<br>
><br>
> <br>
><br>
> So, this is what I mean by ‘one might expect’ 8-)<br>
><br>
> -John<br>
><br>
> <br>
><br>
> From: Busoli, Simone [mailto:<a href="mailto:Simone.Busoli@ferrari.com">Simone.Busoli@ferrari.com</a>] <br>
> Sent: Tuesday, January 03, 2012 10:23 AM<br>
> To: Letourneau, John P (John); <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
> Subject: RE: Federation Configuration and Duplicate Messages<br>
><br>
> <br>
><br>
> Hi John, I’m not sure about this:<br>
><br>
> <br>
><br>
> As one might expect, this sometimes results in the message being seen >1 time at some clients.<br>
><br>
> <br>
><br>
> It shouldn’t be the expected behavior except for certain scenarios (i.e. disconnection of the brokers). Am I missing something perhaps?<br>
><br>
> _________________________________________________________________________________________________________________<br>
> Questo messaggio e da intendersi esclusivamente ad uso del destinatario e puo contenere informazioni che sono di natura privilegiata, confidenziale<br>
> o non divulgabile secondo le leggi vigenti. Se il lettore del presente messaggio non e il destinatario designato, o il dipendente/agente responsabile<br>
> per la consegna del messaggio al destinatario designato, si informa che ogni disseminazione, distribuzione o copiatura di questa comunicazione e <br>
> strettamente proibita anche ai sensi del decreto legislativo 196/03 . Se avete ricevuto questo messaggio per errore, vi preghiamo di notificarcelo<br>
> immediatamente a mezzo e-mail di risposta e successivamente di procedere alla cancellazione di questa e-mail e relativi allegati dal vostro sistema.<br>
> _________________________________________________________________________________________________________________<br>
> This message is intended only for the use of the addressee and may contain information that is privileged, confidential and exempt from <br>
> disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the <br>
> message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly <br>
> prohibited. If you have received this e-mail in error, please notify us immediately by return e-mail and delete this e-mail and all attachments from <br>
> your system.<br>
> _________________________________________________________________________________________________________________<br>
><br>
><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">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
><br>
</p>