activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r643206 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnection.java
Date Mon, 31 Mar 2008 23:17:10 GMT
Author: chirino
Date: Mon Mar 31 16:16:55 2008
New Revision: 643206

URL: http://svn.apache.org/viewvc?rev=643206&view=rev
Log:
If a transport error occurs, there is no point in trying to cleanup with the broker since
transport has failed.

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

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnection.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnection.java?rev=643206&r1=643205&r2=643206&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnection.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQConnection.java
Mon Mar 31 16:16:55 2008
@@ -2050,13 +2050,6 @@
         if (firstFailureError == null) {
             firstFailureError = error;
         }
-        if (!closed.get() && !closing.get()) {
-            try {
-                cleanup();
-            } catch (JMSException e) {
-                LOG.warn("Cleanup failed", e);
-            }
-        }
     }
 
     /**



Mime
View raw message