activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Cleanup failed JMS Exception
Date Thu, 06 Apr 2006 12:01:57 GMT
BTW please be aware that the PooledConnectionFactory is only useful
for sending messages; for consuming  messages you should not really
use JmsTemplate either. I suggest either using the JMS API to create a
consumer, or using Jencks..

as using JmsTemplate causes a new connection, session and consumer to
be created for every message you consume; which is really slow and


On 4/6/06, Hycel <> wrote:
> You are correct.  I followed the advice of wrappiing the
> ActiveMQConnectionFactory with the PooledConnectionFactory.  It's working
> properly now, without throwing any exceptions.
> Thank you very much for your advice concerning this matter.
> --
> View this message in context:
> Sent from the ActiveMQ - User forum at



View raw message