We have a vendor framework that currently opens and closes an MQSeries connection for each request. We'd like to run a proof of concept pooling these connections to see if we get a useful performance gain. I have no problem making an object pool, but I'm concerned that at server shutdown we may leave a lot of connections open on the QueueManager end.
Is there a shutdown event in the
EJB container that I can use as a trigger to close all the connections in my pool? Or a better idea entirely?
Do you know any specific MQ connection pooling solutions?
This is WebSphere 5.0.1, *not* Enterprise. I think some of this is built into the Enterprise version, but we're not there for some reason.