activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elber <shah...@hotmail.fr>
Subject How to enlarge ActiveMQ'S capacity of concurrent?
Date Thu, 05 Jul 2007 13:24:48 GMT

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.


Mime
View raw message