Repository: activemq-artemis
Updated Branches:
  refs/heads/master e380eeb83 -> 23cc4f45c


NO-JIRA Remove dead jms code from broker



Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/d37a0e5f
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/d37a0e5f
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/d37a0e5f

Branch: refs/heads/master
Commit: d37a0e5f873ecdf190ee991d95f69b217204156f
Parents: e380eeb
Author: Michael André Pearce <[email protected]>
Authored: Wed Oct 24 02:04:25 2018 +0100
Committer: Michael André Pearce <[email protected]>
Committed: Wed Oct 24 02:04:25 2018 +0100

----------------------------------------------------------------------
 .../activemq/artemis/core/server/impl/ServerSessionImpl.java | 8 --------
 1 file changed, 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/d37a0e5f/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServerSessionImpl.java
----------------------------------------------------------------------
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 af54400..0516335 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.Message;
 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 class ServerSessionImpl implements ServerSession, 
FailureListener {
          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 class ServerSessionImpl implements ServerSession, 
FailureListener {
       connectionFailed(me, failedOver);
    }
 
-   private void installJMSHooks() {
-   }
-
    private Map<SimpleString, Pair<Object, AtomicLong>> cloneTargetAddresses() {
       return new HashMap<>(targetAddressInfos);
    }

Reply via email to