[EMAIL PROTECTED] wrote:
> The main problem with the generic ra is that it can not be
> used (currently) from a spring application : you should have
> an NullPointerException somewhere.  This issue has been
> reported on their list and i hope it will be corrected soon.
>  In the mean time, i'll try to compile a modified version of
> genericra and to put it in the jencks source tree.

Yes, you're right, I'm getting an NPE. I saw your patch on the genericra
list. Later on today I'm going to apply it and try it again.

> For the outbound connector, you're right that the spring
> configuration is quite huge.  One part is the transaction
> layer configuration : i hope that this one can be
> simplified.  Btw, the examples spring configuration files in
> cvs have a lot of unnecessary beans or properties (they
> usually have default values).
>
> What configuration did you use when you experiences problems
> with connections that were not taken from the pool. I'd like
> to take a look at it.

I used the configuration here:

http://cvs.jencks.codehaus.org/jencks/src/test/resources/org/jencks/samples/outbound/jencks-activemq.xml?rev=1.1&view=auto

My config is exactly the same as the one given except that I am using a
VM connector as opposed to TCP and I haven't defined a queue -- I am
using Spring's JmsTemplate and so I have passed the connectionFactory
bean to JmsTemplate.

The connections are not taken from the pool -- I see the following on my
console on every call to JmsTemplate.send():

INFO: Adding new client: ID:... on transport: VmTransportChannel: null
INFO: Removing client: ID:... on transport: VmTransportChannel: null

> Guillaume Nodet

Cheers,
Raman

Reply via email to