Mar 2nd, 2006, 04:27 PM
Generic JMS Connection/Session/MessageProducer pooling
Does anyone know of a generic JMS connection pool that pools the other resources as well?
I am using Weblogic 8.1, and I'd like to send messages using JmsTemplate, but since I want to do it from a class which isn't invoked from within a EJB or Servlet, I can't take advantage of Weblogic's JMS wrapper which performs such caching.
Using another JMS provider is not an option....
My alternative is to use the custom classes we developed for caching producers. It just doesn't look very clean. I need to specify properties like QueueConnectionFactory name, JMS server URL, username, password, queue name, et. al. Not very IoC for my tastes.