activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1153419 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java
Date Wed, 03 Aug 2011 10:17:17 GMT
Author: gtully
Date: Wed Aug  3 10:17:17 2011
New Revision: 1153419

URL: http://svn.apache.org/viewvc?rev=1153419&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-3435: Connection is taking a long time to close
warning and hung close thread. Ensure stop called during start can attempt a stop such that
it does not hang

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java?rev=1153419&r1=1153418&r2=1153419&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java
Wed Aug  3 10:17:17 2011
@@ -917,7 +917,7 @@ public class TransportConnection impleme
             }
         } catch (Exception e) {
             // Force clean up on an error starting up.
-            stop();
+            pendingStop = true;
             throw e;
         } finally {
             // stop() can be called from within the above block,



Mime
View raw message