+1 It sounds like a good idea and definitely a good candidate for PAX.
By the way, on my side, I did good progress on: - karaf sample & new dev guide - some new updates on karaf-boot - ServiceMix APIMan for API/Service Discovery, Management, Gateway But I will send an update in separate threads. Regards JB On 06/15/2017 09:57 AM, Guillaume Nodet wrote:
I began to work on a small project which aims at providing support for pooled XA-enabled connections for JDBC and JMS. For JDBC, the problem was already solved in pax-jdbc by using either pax-jdbc-pool-aries when deploying the Aries/Geronimo transaction manager, and by using pax-jdbc-pool-narayana when using the Narayana transaction manager. However, there's absolutely no support for JMS. So what I've been doing is to reuse the geronimo JCA connector, make it independent on Geronimo TM and add support for Narayana, use a clone of the old tranql adapter for JDBC and rewrite a new JMS 2.0 compatible adapter for JMS. It's not in a usable state yet, but I wanted to give an heads-up. My plan is to make the pooling almost transparent in OSGi, and reuse it instead of the connection pooling I added to Karaf a few weeks ago which does not support XA or recovery: https://github.com/apache/karaf/tree/master/jms/pool and maybe to plug it into pax-jdbc to replace pax-jdbc-pool-aries and pax-jdbc-pool-narayana. The source code is currently available at: https://github.com/gnodet/org.ops4j.pax.transx Cheers,
-- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
