mirror of
https://github.com/apache/activemq.git
synced 2025-02-26 03:54:57 +00:00
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.setContext(context);
|
||||||
state.setConnection(this);
|
state.setConnection(this);
|
||||||
|
|
||||||
|
try {
|
||||||
broker.addConnection(context, info);
|
broker.addConnection(context, info);
|
||||||
|
}catch(Exception e){
|
||||||
|
brokerConnectionStates.remove(info);
|
||||||
|
LOG.warn("Failed to add Connection",e);
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
if (info.isManageable() && broker.isFaultTolerantConfiguration()) {
|
if (info.isManageable() && broker.isFaultTolerantConfiguration()) {
|
||||||
// send ConnectionCommand
|
// send ConnectionCommand
|
||||||
ConnectionControl command = new ConnectionControl();
|
ConnectionControl command = new ConnectionControl();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user