<div dir="ltr">How hard would it be to implement an option for federation that would use the�<span style="color:rgb(68,68,68);font-family:arial,sans-serif;line-height:16.1200008392334px">x</span><span style="color:rgb(68,68,68);font-family:arial,sans-serif;line-height:16.1200008392334px">-</span><span style="color:rgb(68,68,68);font-family:arial,sans-serif;line-height:16.1200008392334px">received-from header to know if a message came from an upstream and then not send it back that way?�</span><div>
<font color="#444444" face="arial, sans-serif"><span style="line-height:16.1200008392334px"><br></span></font></div><div><font color="#444444" face="arial, sans-serif"><span style="line-height:16.1200008392334px">The reason I am asking is that I have a setup in JMS that is a hub and spoke with my brokers. �My hub broker is the only way any of the other brokers can get data from other brokers. �Also, the traffic is bidirectional between the broker through the hub broker. �I don't have the freedom to change the current hub and spoke setup but I want to use federation to allow message traffic to flow and not receive duplicates at any broker.</span></font></div>
<div><font color="#444444" face="arial, sans-serif"><span style="line-height:16.1200008392334px"><br></span></font></div><div><font color="#444444" face="arial, sans-serif"><span style="line-height:16.1200008392334px">My thought is that when choosing where to send the data, the federation plugin could check the x-received-from header and make sure it only sends it to new brokers and not to brokers that have already seen the message.</span></font></div>
<div><font color="#444444" face="arial, sans-serif"><span style="line-height:16.1200008392334px"><br></span></font></div><div><font color="#444444" face="arial, sans-serif"><span style="line-height:16.1200008392334px">Everything sounds simple in my mind but I am sure there are some interesting gotchas with this option.</span></font></div>
<div><font color="#444444" face="arial, sans-serif"><span style="line-height:16.1200008392334px"><br></span></font></div><div><font color="#444444" face="arial, sans-serif"><span style="line-height:16.1200008392334px">Thanks,</span></font></div>
<div><font color="#444444" face="arial, sans-serif"><span style="line-height:16.1200008392334px"><br></span></font></div><div><font color="#444444" face="arial, sans-serif"><span style="line-height:16.1200008392334px">Dann<br>
</span></font><div>
<span style="color:rgb(68,68,68);font-family:arial,sans-serif;line-height:16.1200008392334px"><br></span></div><div><br></div></div></div>