activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Connection pooling
Date Tue, 24 Apr 2007 08:12:12 GMT
On 4/24/07, Peter Steil <> wrote:
> Hi,
> I am using release 4.1.1 and I am wondering whether or not TopicConnections are pooled
automatically somehow.


> I have quite a lot TopicPublisher who publish to different topics. Should I keep one
TopicConnection open and use it for all TopicSessions or should I open and close the connections
each time?

so typically use 1 connection and have a pool of consumers (maybe via
MDBs or Jencks or Springs MessageListenerContainers) then use a pool
of session/producers either through ActiveMQ's PooledConnectionFactory
with Spring's JmsTemplate or just use one producer and synchronize on


View raw message