mirror of https://github.com/apache/activemq.git
Call transportFailed() only for IOException caused by the transport. Async exceptions from the broker could just mean that an async operation failed (like an async send).
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376339 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4f6e90108f
commit
40926586aa
|
@ -1329,13 +1329,13 @@ public class ActiveMQConnection implements Connection, TopicConnection, QueueCon
|
|||
} else {
|
||||
log.warn("Async exception with no exception listener: " + error, error);
|
||||
}
|
||||
transportFailed(error);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void onException(IOException error) {
|
||||
onAsyncException(error);
|
||||
transportFailed(error);
|
||||
ServiceSupport.dispose(this.transport);
|
||||
brokerInfoReceived.countDown();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue