If a transport error occurs, there is no point in trying to cleanup with the broker since transport has failed.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643206 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2008-03-31 23:16:55 +00:00
parent 431478a8f5
commit 3eb6aed961
1 changed files with 0 additions and 7 deletions

View File

@ -2050,13 +2050,6 @@ public class ActiveMQConnection implements Connection, TopicConnection, QueueCon
if (firstFailureError == null) {
firstFailureError = error;
}
if (!closed.get() && !closing.get()) {
try {
cleanup();
} catch (JMSException e) {
LOG.warn("Cleanup failed", e);
}
}
}
/**