From d37a0e5f873ecdf190ee991d95f69b217204156f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Andr=C3=A9=20Pearce?= Date: Wed, 24 Oct 2018 02:04:25 +0100 Subject: [PATCH] NO-JIRA Remove dead jms code from broker --- .../artemis/core/server/impl/ServerSessionImpl.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServerSessionImpl.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServerSessionImpl.java index af5440090f8..0516335f69d 100644 --- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServerSessionImpl.java +++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServerSessionImpl.java @@ -43,7 +43,6 @@ import org.apache.activemq.artemis.api.core.Pair; import org.apache.activemq.artemis.api.core.RoutingType; import org.apache.activemq.artemis.api.core.SimpleString; -import org.apache.activemq.artemis.api.core.client.ClientSession; import org.apache.activemq.artemis.api.core.management.CoreNotificationType; import org.apache.activemq.artemis.api.core.management.ManagementHelper; import org.apache.activemq.artemis.core.exception.ActiveMQXAException; @@ -1594,10 +1593,6 @@ public String getMetaData(String key) { data = metaData.get(key); } - if (key.equals(ClientSession.JMS_SESSION_CLIENT_ID_PROPERTY)) { - // we know it's a JMS Session, we now install JMS Hooks of any kind - installJMSHooks(); - } return data; } @@ -1718,9 +1713,6 @@ public void connectionFailed(final ActiveMQException me, boolean failedOver, Str connectionFailed(me, failedOver); } - private void installJMSHooks() { - } - private Map> cloneTargetAddresses() { return new HashMap<>(targetAddressInfos); }