<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">That&#8217;s true with your current configuration, but if you federate each broker with the other two like I suggested
 it is going to work.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><o:p>&nbsp;</o:p></span></font></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:36.0pt"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
 Letourneau, John P (John) [mailto:john.letourneau@alcatel-lucent.com] <br>
<b><span style="font-weight:bold">Sent:</span></b> mercoled� 4 gennaio 2012 12:54<br>
<b><span style="font-weight:bold">To:</span></b> Simone Busoli<br>
<b><span style="font-weight:bold">Cc:</span></b> Busoli, Simone; rabbitmq-discuss@lists.rabbitmq.com<br>
<b><span style="font-weight:bold">Subject:</span></b> RE: [rabbitmq-discuss] Federation Configuration and Duplicate Messages<o:p></o:p></span></font></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Simone,<o:p></o:p></span></font></p>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">If I were to set hops=1, then a message posted at N1 would go to N2 but will NOT go
 to N3. This has been verified.<o:p></o:p></span></font></p>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Similarly a message posted at N3 would go to N2 but NOT go to N1.<o:p></o:p></span></font></p>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">-John<o:p></o:p></span></font></p>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></font></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:36.0pt"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
 Simone Busoli [mailto:simone.busoli@gmail.com] <br>
<b><span style="font-weight:bold">Sent:</span></b> Tuesday, January 03, 2012 3:16 PM<br>
<b><span style="font-weight:bold">To:</span></b> Letourneau, John P (John)<br>
<b><span style="font-weight:bold">Cc:</span></b> Busoli, Simone; rabbitmq-discuss@lists.rabbitmq.com<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [rabbitmq-discuss] Federation Configuration and Duplicate Messages<o:p></o:p></span></font></p>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><o:p>&nbsp;</o:p></span></font></p>
<p style="margin-left:36.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Inline<o:p></o:p></span></font></p>
<p style="margin-left:36.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Jan 3, 2012 4:52 PM, &quot;Letourneau, John P (John)&quot; &lt;<a href="mailto:john.letourneau@alcatel-lucent.com">john.letourneau@alcatel-lucent.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Well, perhaps a bit more about my configuration 8-)<br>
&gt;<br>
&gt; 3 nodes&#8230;call them N1, N2, N3.<br>
&gt;<br>
&gt; On each I have federation configured.<br>
&gt;<br>
&gt; N2 &#8211; exchange log, connects to N1/log and N3/log<br>
&gt;<br>
&gt; N3 &#8211; exchange log, connects to N2/log<br>
&gt;<br>
&gt; Right now I cannot seem to have the N1 exchange log connect to N2/log; will need to find out why sometime.<br>
&gt;<br>
&gt; I do it this way so that regardless of where the producer of the log message is, everyone everywhere will see it.<o:p></o:p></span></font></p>
<p style="margin-left:36.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">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?<o:p></o:p></span></font></p>
<p style="margin-left:36.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; Each layer in the hierarchy only knows about nodes in adjacent layers&#8230;N2 being the busy one with a layer above and below.<br>
&gt;<br>
&gt; If everyone has hops=1, sending a log message to N1/log will only go to N2 and not N3 [this is correct].<br>
&gt;<br>
&gt; Setting hops=4, sending a log to N1/log will go to N2 and N3&#8230;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&#8230;the message took a total of 4 hops.<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; So, this is what I mean by &#8216;one might expect&#8217; 8-)<br>
&gt;<br>
&gt; -John<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; From: Busoli, Simone [mailto:<a href="mailto:Simone.Busoli@ferrari.com">Simone.Busoli@ferrari.com</a>]
<br>
&gt; Sent: Tuesday, January 03, 2012 10:23 AM<br>
&gt; To: Letourneau, John P (John); <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">
rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt; Subject: RE: Federation Configuration and Duplicate Messages<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; Hi John, I&#8217;m not sure about this:<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; As one might expect, this sometimes results in the message being seen &gt;1 time at some clients.<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; It shouldn&#8217;t be the expected behavior except for certain scenarios (i.e. disconnection of the brokers). Am I missing something perhaps?<br>
&gt;<br>
&gt; _________________________________________________________________________________________________________________<br>
&gt; Questo messaggio e da intendersi esclusivamente ad uso del destinatario e puo contenere informazioni che sono di natura privilegiata, confidenziale<br>
&gt; o non divulgabile secondo le leggi vigenti. Se il lettore del presente messaggio non e il destinatario designato, o il dipendente/agente responsabile<br>
&gt; per la consegna del messaggio al destinatario designato, si informa che ogni disseminazione, distribuzione o copiatura di questa comunicazione e
<br>
&gt; strettamente proibita anche ai sensi del decreto legislativo 196/03 . Se avete ricevuto questo messaggio per errore, vi preghiamo di notificarcelo<br>
&gt; immediatamente a mezzo e-mail di risposta e successivamente di procedere alla cancellazione di questa e-mail e relativi allegati dal vostro sistema.<br>
&gt; _________________________________________________________________________________________________________________<br>
&gt; This message is intended only for the use of the addressee and may contain information that is privileged, confidential and exempt from
<br>
&gt; 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>
&gt; message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly
<br>
&gt; 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>
&gt; your system.<br>
&gt; _________________________________________________________________________________________________________________<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rabbitmq-discuss mailing list<br>
&gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt; <a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
&gt;<o:p></o:p></span></font></p>
</div>
</body>
<!--[object_id=#ferrari.com#]--><P align=left><FONT size=1>_________________________________________________________________________________________________________________<BR>Questo messaggio � da intendersi esclusivamente ad uso del destinatario e pu� contenere informazioni che sono di natura privilegiata, confidenziale<BR>o non divulgabile secondo le leggi vigenti. Se il lettore del presente messaggio non � 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 � <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></FONT></P></html>