activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Snyder <bruce.sny...@gmail.com>
Subject Re: Why can't a message be routed to a broker that has seen it before?
Date Wed, 28 Oct 2009 18:02:32 GMT
On Wed, Oct 28, 2009 at 12:52 PM, Elliot Barlas <elliotbarlas@gmail.com> wrote:
>
> It seems that AMQ has a hard constraint that a message cannot be routed to a
> broker that has seen it before.
>
> NetworkBridgeFilter.java
>
>        if (contains(message.getBrokerPath(), networkBrokerId)) {
>            if (LOG.isTraceEnabled()) {
>                LOG.trace("Message all ready routed once through this broker
> - ignoring: " + message);
>            }
>            return false;
>        }
>
> Has anyone found a way to circumvent this constraint?  Is this constraint
> ever going to change?

This was implemented two or three years ago to prevent messages from
ping-ponging back and forth between brokers in a network. There is
already an open issue for this that I will be working on soon:

https://issues.apache.org/activemq/browse/AMQ-2324

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

ActiveMQ in Action: http://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder

Mime
View raw message