Andreas, I just tried out this scenario and it works fine. I just use the transaction mediator to mark the start/end/rollback of the JTA transaction and JMS sender participated in that transaction, and I didn't configure anything related to JTA in JMS sender.
Rajika On Tue, Jan 5, 2010 at 10:56 PM, Rajika Kumarasiri <[email protected]> wrote: > Andreas, > As I said I was just looking through the distributed transaction > implementation in JMS transport and observed the above. I am not sure why > there is a tight couple between the JTA transaction created in JMSListener > and the JMSSender is using it. Any way I'll try out my scenario and see how > it goes. > > Rajika > > > On Tue, Jan 5, 2010 at 5:07 PM, Andreas Veithen <[email protected] > > wrote: > >> If Synapse invokes the sender on the thread on which the transaction >> is running (and if the JMS connection factories are set up correctly), >> then it should automatically participate in this transaction. What >> kind of issue are you seeing with the current implementation of the >> JMS sender? >> >> Andreas >> >> >
