May 8th, 2008, 10:45 PM
WMQ & Spring framework JmsTemplate & Pooled ConnectionFactory
a quick question on my problem:
Currently I have implemented a WMQ application underneath Spring framework : I use DefaultMessageListenerContainer for inbounding message processing, and JmsTemplate for outbounding message processing. I use Jotm for JTA transaction, which all seems fine except one major problem with JmsTemplate : it is an expensive operation to create connection, seesion, queueproducer each time when a message is sent, which is unacceptable in our case.
Do you know any similar pooledConnectionFactory for WMQ 6.0 so I can config that to maintain a pool of connection, or even a pool of sessions, etc.
I notice you wrote jencks AMQPool for ActiveMQ. Are there similar component for WMQ.
You also mentioned jencks to achieve this, however I don't need jca stuff here. All I need is some reliable pooled wrapper for WMQ.
Thanks a lot