Thanks for the feedback Tim. I created the following Jira to add a example about tx in general and tx-control in particular:
https://issues.apache.org/jira/browse/KARAF-6140 By hte way, before the end of this week, I will send the first action of the "kloud initiative". Especially, I will send a proposal to simplify the developer perspective. Regards JB On 06/02/2019 21:16, Tim Jones wrote: > Hi Alex, > > yes it is possible to use tx-control with Karaf, we have been using it on > v4.0.5 in our production system for about 18 months with no issues. One of > the main reasons we use tx-control is that is it 'backed' by a standard. > Rightly or wrongly we also didn't have confidence in Aries JPA Template at > the time we were considering transaction managment solutions to manage our > transactions in a production environment (perhaps this was misguided) but we > were concerned that there were few integrated tests for that project where > as there are over 2000 lines of test code for tx-control which demonstrate > sucess and failure cases for JPA, JDBC, non-XA, XA, last gambit wins, > commit, rollback depending upon exception type and much more. > > I think the enRoute project has some examples > https://enroute.osgi.org/examples/023-examples-microservice-jdbc.html and > the tx-control test code is worth looking at. > > Tim > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
