I have created a simple example that use atomikos transaction manager v3.9.3
This example is not pure osgi style cause transaction manager is not register in osgi registry but IMHO can be a good starting point.
The example is composed of two parts.
The first is the bundle that make "real job" and the second is a fragmen thost of transactions-osgi to allow the configuration of the transaction manager.
The work of the example is to consume a csv file from a folder, trasform it, and send it jms queue and persist it on db
Around not seem to have seen examples of using com.atomikos.transactions-osgi.
I apologize in advance if I'm wrong.
Any idea of improvement or criticism are welcome