On Mon, Aug 24, 2009 at 5:39 PM, Rajika Kumarasiri <[email protected]> wrote: hi Asankha, I just submitted a patch for this(SYNAPSE-574). I added a attribute for DBReport mediator configuration which specify the use of DBReport mediator in a distributed transaction. I only added this to DBReport mediator since only it'll be affect in a distributed transaction.
<dbreport useTransaction="true|false"> .... </dbreport> -Rajika > > > On Mon, Aug 24, 2009 at 5:18 PM, Asankha C. Perera <[email protected]>wrote: > >> Hi Rajika >> > When using dbreport mediator together with tx mediator in a >> > distributed transaction due to the commit operation in DBReport >> > mediator (DBReportMediator.java:57) the following exception >> > occurs[1]. This is due to we can't manage the commit during a >> > container manage transaction. I think we should have a parameter >> > saying this is a distributed transaction and disable the commit >> > operation in DBReport mediator. >> Yes, I think this is the correct solution >> > Having a parameter(indicating using a distributed transaction) in >> > axis2.xml would be a solution for this. WDYT? >> Why do you propose this again.. what you propose earlier, i.e. to >> specify a parameter in the DBReport/DBLookup is correct and is the >> proper solution and you do not need to touch the axis2.xml > > > Yes, you are correct. We should have this parameter in DBReport/DBLookup > mediators. > > -Rajika > >> >> >> cheers >> asankha >> >> -- >> Asankha C. Perera >> AdroitLogic, http://adroitlogic.org >> >> http://esbmagic.blogspot.com >> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > -- > http://wso2.org > http://llvm.org > http://www.minix3.org/ > > > -- http://wso2.org http://llvm.org http://www.minix3.org/
