commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Strachan <>
Subject Re: [Pool] JMS Pools
Date Thu, 24 Apr 2003 22:37:04 GMT

On Thursday, April 24, 2003, at 11:35  pm, James Strachan wrote:

> On Thursday, April 24, 2003, at 05:37  pm, Tauzell, Dave wrote:
>> Has anybody used the Pool classes to create a pool of JMS QueueSession
>> objects?  I have a large number of threads that need to send JMS
>> messages. Right now each one gets its own connection which is somewhat
>> resource intensive (we are using MQSeries).
>> One issue I have is how to detect when failures happen and how to
>> re-connect.

BTW strictly speaking your JMS provider should handle failure detection 
& reconnections for you! Most decent JMS implementations do this for 
you without you writing any code - maybe its time to switch JMS 


View raw message