mirror of https://github.com/apache/activemq.git
fix for matchesForwarding Filter (spotted by John Heitmann)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381627 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
35e088856d
commit
695a766b5c
|
@ -747,6 +747,7 @@ public class DemandForwardingBridge implements Bridge{
|
||||||
if (log.isTraceEnabled()){
|
if (log.isTraceEnabled()){
|
||||||
log.trace("Message all ready routed once through this broker - ignoring: " + message);
|
log.trace("Message all ready routed once through this broker - ignoring: " + message);
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
int hops = message.getBrokerPath() == null ? 0 : message.getBrokerPath().length;
|
int hops = message.getBrokerPath() == null ? 0 : message.getBrokerPath().length;
|
||||||
if(hops >= networkTTL){
|
if(hops >= networkTTL){
|
||||||
|
|
Loading…
Reference in New Issue