synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera" <asan...@apache.org>
Subject Re: DBreport mediator and tx mediator
Date Mon, 24 Aug 2009 11:48:44 GMT
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

cheers
asankha

-- 
Asankha C. Perera
AdroitLogic, http://adroitlogic.org

http://esbmagic.blogspot.com





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message