You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by MarkS1900 <ma...@yahoo.com.au> on 2012/02/02 18:10:52 UTC
Re: JMS and Database interactions under the same transactional
context
I just released some source code as a working example, that others might find
helpful.
== ServiceMix OSGi Aries Blueprint Atomikos Beans ==
https://bitbucket.org/mark1900/test-osgi/src/ff21eaa32e22/test-osgi-blueprint-xa-atomikos/src/main/resources/OSGI-INF/blueprint/resource-context.xml
== Atomikos + Camel Integration to achieve XA Transactions ==
My Camel configuration using these Atomikos beans is here:
https://bitbucket.org/mark1900/test-osgi/src/ff21eaa32e22/test-osgi-blueprint-xa-atomikos/src/main/resources/OSGI-INF/blueprint/xa-test-camel-context.xml
== Atomikos + Pojo Service Integration to achieve XA Transactions ==
My Service configuration using these Atomikos beans is here:
https://bitbucket.org/mark1900/test-osgi/src/ff21eaa32e22/test-osgi-blueprint-xa-atomikos/src/main/resources/OSGI-INF/blueprint/xa-test-service-context.xml
As I am deploying to the ServiceMix 4.4.x environment and as such I had to
use do my manual transaction management, which is given here:
https://bitbucket.org/mark1900/test-osgi/src/ff21eaa32e22/test-osgi-blueprint-xa-atomikos/src/main/java/xo/transaction/XoTransactionProxyHandler.java
--
View this message in context: http://servicemix.396122.n5.nabble.com/JMS-and-Database-interactions-under-the-same-transactional-context-tp4762819p5451337.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.