activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: sharing connections across threads
Date Mon, 17 Jul 2006 11:04:27 GMT
Yes - sharing connections across threads is totally fine in JMS. You
should only use Session, MessageProducer, MessageConsumer objects by
one thread at a time though

On 7/17/06, tomjmalone <thomas.malone@uk.easynet.net> wrote:
>
> I have multiple threads sending messages which are currently sharing the same
> connection.  Is this a safe thing to do?  Does the ActiveMQConnectionFactory
> produce connections that are thread safe?
> --
> View this message in context: http://www.nabble.com/sharing-connections-across-threads-tf1954081.html#a5358919
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message