activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Jencks and jmsTemplate
Date Fri, 28 Jul 2006 11:36:38 GMT
On 7/28/06, Paul French <> 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...

> 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?




View raw message