ARTEMIS-814: Notify connection listener of connection created
This commit is contained in:
parent
224770168b
commit
b2a5fe19d3
|
@ -912,6 +912,7 @@ public class NettyConnector extends AbstractConnector {
|
||||||
if (connections.putIfAbsent(connection.getID(), connection) != null) {
|
if (connections.putIfAbsent(connection.getID(), connection) != null) {
|
||||||
throw ActiveMQClientMessageBundle.BUNDLE.connectionExists(connection.getID());
|
throw ActiveMQClientMessageBundle.BUNDLE.connectionExists(connection.getID());
|
||||||
}
|
}
|
||||||
|
listener.connectionCreated(component, connection, protocol);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue