mirror of https://github.com/apache/activemq.git
remove duplicate log info, AMQ-2198|https://issues.apache.org/activemq/browse/AMQ-2198
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@765133 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ff59a598cc
commit
0c89959c59
|
@ -549,10 +549,7 @@ public abstract class DemandForwardingBridgeSupport implements NetworkBridge, Br
|
||||||
// a network subscription so there is a need to synchronise on a shared entity
|
// a network subscription so there is a need to synchronise on a shared entity
|
||||||
synchronized(brokerService.getVmConnectorURI()) {
|
synchronized(brokerService.getVmConnectorURI()) {
|
||||||
if (isDuplicateNetworkSubscription(info)) {
|
if (isDuplicateNetworkSubscription(info)) {
|
||||||
if (LOG.isDebugEnabled()) {
|
// trace in method
|
||||||
LOG.debug(configuration.getBrokerName() + " Ignoring sub from " + remoteBrokerName + ", destination " + info.getDestination()
|
|
||||||
+ ", for " + info.getConsumerId() + " as a duplicate. Already subscribed via network subscription :" + info);
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (addConsumerInfo(info)) {
|
if (addConsumerInfo(info)) {
|
||||||
|
@ -974,7 +971,8 @@ public abstract class DemandForwardingBridgeSupport implements NetworkBridge, Br
|
||||||
if (!networkConsumers.isEmpty()) {
|
if (!networkConsumers.isEmpty()) {
|
||||||
if (matchFound(candidateConsumers, networkConsumers)) {
|
if (matchFound(candidateConsumers, networkConsumers)) {
|
||||||
if (LOG.isDebugEnabled()) {
|
if (LOG.isDebugEnabled()) {
|
||||||
LOG.debug(configuration.getBrokerName() + " subscription: " + consumerInfo + " is duplicated by network subscription: "
|
LOG.debug(configuration.getBrokerName() + " Ignoring duplicate subscription from " + remoteBrokerName
|
||||||
|
+ ", sub: " + consumerInfo + " is duplicated by network subscription: "
|
||||||
+ sub.getConsumerInfo() + ", networkComsumerIds: " + networkConsumers);
|
+ sub.getConsumerInfo() + ", networkComsumerIds: " + networkConsumers);
|
||||||
}
|
}
|
||||||
isDuplicate = true;
|
isDuplicate = true;
|
||||||
|
|
Loading…
Reference in New Issue