On Mon, Aug 24, 2009 at 7:54 PM, Ruwan Linton <ruwan.lin...@gmail.com>wrote: hi, The docs says this. The UserTransaction interface provides applications and application components with the capability to control transaction boundaries programmatically, while an application server utilizes the TransactionManager interface to demarcate transaction boundries on behalf of an application and its associated components[1].
-Rajika [1] - http://java.sun.com/javaee/technologies/jta/index.jsp Rajika, > > What is the difference between the TransactionManager and the > UserTransaction APIs?? > > Thanks, > Ruwan > > > On Mon, Aug 24, 2009 at 2:53 PM, Rajika Kumarasiri <raj...@wso2.com>wrote: > >> hello everybody, >> I was trying to use the tx mediator with multiple data sources, but I was >> end up with have a resource enlist problem. Further investigating the >> problem I found that this is something with the use of TransactionManager >> interface in tx mediator. I am not sure why the tx mediator was implemented >> in that manner. But changing the TransactionManager interface into >> UserTransaction fixed the problem. I just submitted a patch with the changes >> for the tx mediator(SYNAPSE-573). I can share the configuration, datasources >> confifurations etc..if anybody is interested. Also note that we don't need >> to the axis2.xml configuration we use to get the TxManger from the JTA >> provider. >> >> -Rajika >> >> -- >> http://wso2.org >> http://llvm.org >> http://www.minix3.org/ >> >> >> > > > -- > Ruwan Linton > Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb > WSO2 Inc.; http://wso2.org > email: ru...@wso2.com; cell: +94 77 341 3097 > blog: http://ruwansblog.blogspot.com > -- http://wso2.org http://llvm.org http://www.minix3.org/