Hi,
I am writing multithreaded MQ app code, I am not sure if this is ok (pseudo
code)
Connection connection = createConnection();
for ( each thread i to 100 )
{
connection.createSession();
session.createProducer();
producer.sendMessages();
}
Or create connection and session first, then each thread will create its own
producer and send messages.
Thanks.
Eirn
--
View this message in context:
http://www.nabble.com/Multithreaded-MQ-app-t1775770.html#a4834019
Sent from the ActiveMQ - Dev forum at Nabble.com.