From af1159a24b6ade4bfa3962dfc06940cefab6e4e3 Mon Sep 17 00:00:00 2001 From: Ulf Lilleengen Date: Wed, 10 Jan 2018 20:12:34 +0100 Subject: [PATCH] ARTEMIS-1598 modify SslHandler name in connector Use the same "name" when inserting the Netty SslHandler into the pipeline for both acceptors and connectors. --- .../artemis/core/remoting/impl/netty/NettyConnector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnector.java b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnector.java index 792c8aa227..5874820d20 100644 --- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnector.java +++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnector.java @@ -609,7 +609,7 @@ public class NettyConnector extends AbstractConnector { SslHandler handler = new SslHandler(engine); - pipeline.addLast(handler); + pipeline.addLast("ssl", handler); } if (httpEnabled) {