If I remember correctly initially there was some configuration that need to add into axis2.xml and this code seems to use that bit of information. I also remember that we planned to drop that path and I am not sure about the current status. You will need to look into the usage of TransactionConfiguration and define the configuration as required.
Hope this helps. Rajika On Sat, Mar 31, 2012 at 10:53 AM, Supun Malinga <[email protected]> wrote: > Hi devs, > > I have a Class mediator which is getting called within transaction > mediator. > I tried following code fragment to get the TransactionConfiguration within > class mediator. > > SynapseConfiguration synapseConfiguration = > messageContext.getConfiguration(); > AxisConfiguration axisConfiguration = > synapseConfiguration.getAxisConfiguration(); > TransactionConfiguration transactionConfiguration = > axisConfiguration.getTransactionConfiguration(); > > But it's getting null for the transactionConfiguration. Help appreciated. > > thanks, > -- > Supun Malinga, > > Software Engineer, > WSO2 Inc. > http://wso2.com > http://wso2.org > email - [email protected] <[email protected]> > mobile - 071 56 91 321 > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
