It sounds like you should look at the Transaction Control specification in the 
OSGi Release 7 specification draft 

There’s already a prototype implementation in Apache Aries which supports Local 
transactions, XA transactions, JDBC and JPA. 
<>). It sounds as though 
it will do exactly what you want.



> On 18 Oct 2016, at 09:16, cniehues <> wrote:
> Is there a way to get context specific service instances in karaf? For
> example if I process SOAP-Messages concurrently I want to ensure that the
> underlying DAO services will use the same EntityManager for each specific
> request.
> --
> View this message in context: 
> Sent from the Karaf - User mailing list archive at

Reply via email to