mirror of https://github.com/apache/activemq.git
Add some info logging so you can check to see if the discovery agent is generating duplicate onServiceAdd events
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643908 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c92b11bc54
commit
11e742f003
|
@ -73,7 +73,11 @@ public class DiscoveryNetworkConnector extends NetworkConnector implements Disco
|
|||
return;
|
||||
}
|
||||
// Should we try to connect to that URI?
|
||||
if (bridges.containsKey(uri) || localURI.equals(uri) || (connectionFilter != null && !connectionFilter.connectTo(uri))) {
|
||||
if( bridges.containsKey(uri) ) {
|
||||
LOG.debug("Discovery agent generated a duplicate onServiceAdd event for: "+uri );
|
||||
return;
|
||||
}
|
||||
if ( localURI.equals(uri) || (connectionFilter != null && !connectionFilter.connectTo(uri))) {
|
||||
return;
|
||||
}
|
||||
URI connectUri = uri;
|
||||
|
|
Loading…
Reference in New Issue