Thanks James, Judging from the mailing lists you are a very busy man!!

I think you misunderstood my question?

Does Jencks pool sessions OR connections when using JMS?

Using Spring SingleConnectionFactory we reuse the same connection. However
Spring will create a new session and consumer/producer on the fly when using
the JmsTemplate. Hence my question:


Is a new session object fairly lightweight? (from the point of view of
creating it)

Jencks pools sessions or connections (??) and AFAIK a
session,producer/consumer are not thread safe.

Hence using Jencks would you not still have to create a producer/consumer on
the fly for each of your working threads?




-- 
View this message in context: 
http://www.nabble.com/jencks-or-spring-2.0-tf2009623.html#a5523002
Sent from the ActiveMQ - User forum at Nabble.com.

Reply via email to