activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elber <shah...@hotmail.fr>
Subject Enlarge ActiveMQ's capacity of concurrent?
Date Thu, 05 Jul 2007 13:27:00 GMT

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

QConnection = QConnectionFactory.createQueueConnection();

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

QReceiver = QSession.createReceiver(Q);

QConnection.start();

SThread = new Thread(this);

SThread.start();

________________________________________________

Thank you.
-- 
View this message in context: http://www.nabble.com/Enlarge-ActiveMQ%27s-capacity-of-concurrent--tf4029718s2354.html#a11446451
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message