Rajika, In that case, why do you need a distributed transaction, considering that the JMS sender uses a single resource (the JMS connection factory) and executes a single operation (sending the JMS message)? It seems to me that in that case, you don't need a transaction, and even less a distributed transaction.
Andreas On Tue, Jan 5, 2010 at 11:33, Rajika Kumarasiri <raj...@wso2.com> wrote: > On Tue, Jan 5, 2010 at 3:20 PM, Andreas Veithen > <andreas.veit...@gmail.com>wrote: > >> Rajika, >> >> Why would the JMS sender ever want to create a new transaction? >> > > In case of only the JMS TransportSender needs to participate in a > distributed transaction. > > Rajika > > >> >> Andreas >> >> >