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: Connection pooling
Date Fri, 15 Sep 2006 07:54:54 GMT
On 9/15/06, petera <peter.anderson@egsgroup.com> wrote:
> James,
>
> I thought the session, producer and consumer objects were "lightweight"
> objects
> that take only a small amount of time to initialise ?

Session, producer and consumer are lightweight in the sense that they
dont' create a socket like a Connection does but they all cause
network chatter with the broker when they are created & closed - so
should not really be created on demand but rather be polled and reused

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

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

Mime
View raw message