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.
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. Cheers, Guillaume Nodet ---------- Initial Header ----------- From : Raman Gupta <[EMAIL PROTECTED]> To : [email protected] Cc : Date : Thu, 15 Sep 2005 03:17:16 -0400 Subject : [jencks-user] Outbound connections Hi all, I have registered the ActiveMQ RA and Sun's genericra with Jencks. Receiving messages from both RA's to my MessageListener implementations works great. (Thanks!) However, I am now trying to implement outbound messaging. I saw that in CVS there are some sample Spring configs for outbound messaging. When I tried it with genericra, I got some sort of Exception. When I tried it with the ActiveMQ RA, it worked but it created a new Connection rather than getting it from the pool. The sample configs are way more complicted than I would have expected. I think all I need is a ConnectionFactory from the RA's pool to pass to JmsTemplate to send the message. I know this is probably documentation in progress, but any hints? Thanks, Raman PS I know about the ActiveMQ work-around to define a PooledConnectionFactory. I'm still in the lurch with the genericra though. ------------ ALICE HAUT DEBIT A 29,95 EUR/MOIS ------------ ALICEBOX, l'offre Internet tout en 1 : ADSL, téléphonie, modem Wi-Fi et en exclusivité la hotline gratuite 24h/24 ! Soumis à conditions. Pour en profiter cliquez ici http://abonnement.aliceadsl.fr
