activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elliot Barlas <elliotbar...@gmail.com>
Subject Re: Why can't a message be routed to a broker that has seen it before?
Date Wed, 28 Oct 2009 20:28:15 GMT

I commented out the NetworkBridgeFilter.java if statement mentioned in my
original post and it seems to be working as expected.  Do you know of any
harmful side affects this may cause?



bsnyder wrote:
> 
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/Why-can%27t-a-message-be-routed-to-a-broker-that-has-seen-it-before--tp26098188p26101576.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message