I wrote this code and I want to know how can I modify it to share a
connection between many threads:

QConnection = queueConnectionFactory.createQueueConnection();

QSession        = queueConnection.createQueueSession(false,
Session.AUTO_ACKNOWLEDGE);

QReceiver       = queueSession.createReceiver(Q);

QConnection.start();

SThread = new Thread(this);

SThread.start();

________________________________________________

Thank you.
-- 
View this message in context: 
http://www.nabble.com/How-to-enlarge-ActiveMQ%27S-capacity-of-concurrent--tf2266104s2354.html#a11446431
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Reply via email to