> I use this configuration -
> http://goopen.org/confluence/display/ACTIVEMQ/JMS+and+JDBC+operations+in+one+transaction > I see that on every transaction separate connection to AMQ for sending
> message is opened and closed at the end of transaction. Is it possible
> to reuse one connection to AMQ for sending messages or use already
> established connection for consuming messages which is not closed at the
> and of transaction?
> Eugene Prokopiev
> > PooledConnectionFactory instead of Jencks pool for sending
> > messages as described in
> > http://incubator.apache.org/activemq/jmstemplate-gotchas.html?
> but in this case I can't use XA because XA is supported only by Jencks
> JCA, am I right?
> So, how can I correctly configure connection pool with Jencks and how to
> use it for producing and consuming messages?