activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r1372770 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/failover/FailoverTransport.java
Date Tue, 14 Aug 2012 08:34:42 GMT
Author: dejanb
Date: Tue Aug 14 08:34:41 2012
New Revision: 1372770

URL: http://svn.apache.org/viewvc?rev=1372770&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-3972 - failover transport - don't propagate exceptions
for disposed transport

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/failover/FailoverTransport.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/failover/FailoverTransport.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/failover/FailoverTransport.java?rev=1372770&r1=1372769&r2=1372770&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/failover/FailoverTransport.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/failover/FailoverTransport.java
Tue Aug 14 08:34:41 2012
@@ -265,7 +265,7 @@ public class FailoverTransport implement
                 if (reconnectOk) {
                     updated.remove(failedConnectTransportURI);
                     reconnectTask.wakeup();
-                } else {
+                } else if (!isDisposed()) {
                     propagateFailureToExceptionListener(e);
                 }
             }



Mime
View raw message