On 7/28/06, Paul French <[EMAIL PROTECTED]> wrote:
Okay I've learned from previous posts Jencks pools connection, sessions, and consumers/producers. If I use the Jencks with the JmsTemplate will the jmsTemplate pick up the pooled producers and consumers?
Producers yes, though I'd not use JmsTemplate for consuming, instead use Jencks' Message Driven POJOs... http://jencks.org/Message+Driven+POJOs
Assuming this is the case to help my understanding how is this done under the hood?
Jencks creates a proxy ConnectionFactory which does the pooling for you (at least for sending - consuming is a bit different)
I'm guessing that Jencks wraps a session and subsequent calls to create a producer or consumer on the session object are actually pulled from the pool?
Yes -- James ------- http://radio.weblogs.com/0112098/
