ARTEMIS-1050 Register AMQP failure/close listeners
This commit is contained in:
parent
d9a7b2feb6
commit
7cf06cd285
|
@ -110,6 +110,8 @@ public class ProtonProtocolManager implements ProtocolManager<Interceptor>, Noti
|
|||
Executor executor = server.getExecutorFactory().getExecutor();
|
||||
|
||||
ActiveMQProtonRemotingConnection delegate = new ActiveMQProtonRemotingConnection(this, amqpConnection, remotingConnection, executor);
|
||||
delegate.addFailureListener(connectionCallback);
|
||||
delegate.addCloseListener(connectionCallback);
|
||||
|
||||
connectionCallback.setProtonConnectionDelegate(delegate);
|
||||
|
||||
|
|
Loading…
Reference in New Issue