activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LiXiao2007 <>
Subject One connection for multiple sessions or one connection for each session
Date Tue, 27 Feb 2007 02:34:13 GMT

I would like to write a program with multiple threads. Each thread will
subscribe same mesage queue. There are two ways to do that.
1. Each thread has its own connection and session to the queue.
2. All the threads share same connection and each thread has its own

I don't know which way is better. Any help is greatly appreciated.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message