Repository: activemq-artemis
Updated Branches:
  refs/heads/2.6.x 9bb94d637 -> 7793f2025


NO-JIRA - fixing test compilation


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

Branch: refs/heads/2.6.x
Commit: 7793f202519b49a75ea44480eb927933e5c1476f
Parents: 9bb94d6
Author: andytaylor <andy.tayl...@gmail.com>
Authored: Mon Dec 17 09:50:49 2018 +0000
Committer: andytaylor <andy.tayl...@gmail.com>
Committed: Mon Dec 17 09:50:49 2018 +0000

----------------------------------------------------------------------
 .../activemq/artemis/jms/client/ActiveMQConnection.java      | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/7793f202/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQConnection.java
----------------------------------------------------------------------
diff --git 
a/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQConnection.java
 
b/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQConnection.java
index 9745cb1..03b2d8b 100644
--- 
a/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQConnection.java
+++ 
b/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQConnection.java
@@ -78,6 +78,14 @@ public class ActiveMQConnection extends 
ActiveMQConnectionForContextImpl impleme
 
    public static final SimpleString CONNECTION_ID_PROPERTY_NAME = 
MessageUtil.CONNECTION_ID_PROPERTY_NAME;
 
+   /**
+    * Just like {@link 
ClientSession.AddressQuery#JMS_SESSION_IDENTIFIER_PROPERTY} this is
+    * used to identify the ClientID over JMS Session.
+    * However this is only used when the JMS Session.clientID is set (which is 
optional).
+    * With this property management tools and the server can identify the 
jms-client-id used over JMS
+    */
+   public static String JMS_SESSION_CLIENT_ID_PROPERTY = "jms-client-id";
+
    // Static 
---------------------------------------------------------------------------------------
 
    // Attributes 
-----------------------------------------------------------------------------------

Reply via email to