activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r1094618 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/DiscoveryNetworkConnector.java
Date Mon, 18 Apr 2011 15:23:42 GMT
Author: dejanb
Date: Mon Apr 18 15:23:42 2011
New Revision: 1094618

URL: http://svn.apache.org/viewvc?rev=1094618&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-2774 - handling TransportDisposedIOException and
making reconnection logic work in this case as well

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/DiscoveryNetworkConnector.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/DiscoveryNetworkConnector.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/DiscoveryNetworkConnector.java?rev=1094618&r1=1094617&r2=1094618&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/DiscoveryNetworkConnector.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/DiscoveryNetworkConnector.java
Mon Apr 18 15:23:42 2011
@@ -133,8 +133,6 @@ public class DiscoveryNetworkConnector e
             try {
                 bridge.start();
                 bridges.put(uri, bridge);
-    	    } catch (TransportDisposedIOException e) {
-                LOG.warn("Network bridge between: " + localURI + " and: " + uri + " was correctly
stopped before it was correctly started.");
             } catch (Exception e) {
                 ServiceSupport.dispose(localTransport);
                 ServiceSupport.dispose(remoteTransport);
@@ -145,7 +143,6 @@ public class DiscoveryNetworkConnector e
                 } catch (IOException e1) {
                     LOG.debug("Discovery agent failure while handling failure event: " +
e1.getMessage(), e1);
                 }
-                return;
             }
         }
     }



Mime
View raw message