mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581715 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
08841bbde3
commit
7b1fd3484e
|
@ -690,7 +690,13 @@ public class TransportConnection implements Service, Connection, Task, CommandVi
|
|||
state.setContext(context);
|
||||
state.setConnection(this);
|
||||
|
||||
try {
|
||||
broker.addConnection(context, info);
|
||||
}catch(Exception e){
|
||||
brokerConnectionStates.remove(info);
|
||||
LOG.warn("Failed to add Connection",e);
|
||||
throw e;
|
||||
}
|
||||
if (info.isManageable() && broker.isFaultTolerantConfiguration()) {
|
||||
// send ConnectionCommand
|
||||
ConnectionControl command = new ConnectionControl();
|
||||
|
|
Loading…
Reference in New Issue