You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2021/02/12 05:45:45 UTC

[GitHub] [activemq-artemis] jsmucr commented on pull request #3451: Add a note about the `jms-client-id` session metadata to the docs

jsmucr commented on pull request #3451:
URL: https://github.com/apache/activemq-artemis/pull/3451#issuecomment-777989106


   I'm sorry that you don't find this useful. But please note that it took me a lot of googling before I found this approach somewhere in the depths of Stack Overflow. I'm pretty sure it should be written *somewhere*. So for those desperately searching, once again:
   
   ```java
   session.addMetaData(ClientSession.JMS_SESSION_IDENTIFIER_PROPERTY, "jms-client-id"); // Or just ""
   session.addMetaData("jms-client-id", "my-session");
   ```
   
   Any other approach didn't work for me.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org