jsr343-experts@jms-spec.java.net

[jsr343-experts] Clarification about JMSContext and setClientID

From: Clebert Suconic <clebert.suconic_at_gmail.com>
Date: Mon, 24 Jun 2013 15:36:58 -0400

say you created a JMSContext, and used setClientID....


JMSContext ctx = ...
ctx.setClientID("someID");


Say, if later we call:

JMSContext ctx2 = ctx.createJMSContext();



What would be the expected value of ctx2.getClientID() ?


I'm assuming there will be some connection reused by the JMSContext and
ctx.createJMSContext() would reuse the internal connection as we talked
earlier. I'm just double checking if this is everybody's expectations...?



Clebert