[rabbitmq-discuss] Federation Duplicates and Filtering
Dann
dann.ormond at gmail.com
Mon Jan 27 16:36:31 GMT 2014
How hard would it be to implement an option for federation that would use
the x-received-from header to know if a message came from an upstream and
then not send it back that way?
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.
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.
Everything sounds simple in my mind but I am sure there are some
interesting gotchas with this option.
Thanks,
Dann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140127/b8b50983/attachment.html>
More information about the rabbitmq-discuss
mailing list