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: jencks or spring 2.0
Date Thu, 27 Jul 2006 14:55:29 GMT
On 7/27/06, Paul French <paul.french@frenchiesystems.com> wrote:
>
> Does Jencks pool sessions or connections when using JMS?

Yes

> Assuming we re-use the same connection I believe the Spring JmsTemplate will
> always create a new session when sending a new message?

Yes - and connection and producer/consumer

> If this is the case is this okay? i.e. Is a new session object fairly
> lightweight?

No - see these links

http://incubator.apache.org/activemq/how-do-i-use-jms-efficiently.html
http://incubator.apache.org/activemq/jmstemplate-gotchas.html


-- 

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

Mime
View raw message