I tried adapting the EnRoute example to use with Karaf some months ago without success. It was more difficult than I could handle, so I ended up using Aries JpaTemplate. I am revisiting this now, because I have seen issues with Derby where the transaction is not being rolled back, and I thought it may be time to migrate it. Any help getting this to work on Karaf would be greatly appreciated.
Best regards, Alex soto > On Feb 5, 2019, at 10:53 AM, Jean-Baptiste Onofré <[email protected]> wrote: > > I'm volunteer to add the features repository in aries-tx-control. That > would be helpful in Karaf. > > Regards > JB > > On 05/02/2019 16:51, Christian Schneider wrote: >> I am pretty sure you can use it. >> >> There is an example in enroute: >> https://github.com/osgi/osgi.enroute/tree/master/examples/microservice/rest-app-jpa >> >> If you use the same bundles it should work. >> We can create a karaf feature in the aries-tx-control repo for it to >> make it easier to install. >> >> Christian >> >> Am Di., 5. Feb. 2019 um 16:34 Uhr schrieb Alex Soto >> <[email protected] <mailto:[email protected]>>: >> >> Hi, >> >> Is it possible to use Transaction Control Service Specification with >> Karaf? >> >> >> https://osgi.org/specification/osgi.cmpn/7.0.0/service.transaction.control.html >> >> >> Any good example or tutorial? >> >> (I am currently using Aries JPA Template, but I would like to move >> on to use the standard) >> >> Best regards, >> Alex soto >> >> >> >> >> >> >> -- >> -- >> Christian Schneider >> http://www.liquid-reality.de >> >> Computer Scientist >> http://www.adobe.com >> > > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com
