axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eran Chinthaka" <eran.chinth...@gmail.com>
Subject Re: Patch - Axis2 configuration to support synapse transactions
Date Thu, 20 Nov 2008 03:34:34 GMT
Irantha,

A small suggestion/improvement. Can you please not add the new parameter to
axisconfig, if no parameter is available in axis2.xml?


            OMElement transactionElement =
config_element.getFirstChildWithName(new QName(TAG_TRANSACTION));

            if (transactionElement != null) {
                ParameterInclude transactionConfig = new
ParameterIncludeImpl();
                Iterator parameters =
transactionElement.getChildrenWithName(new QName(TAG_PARAMETER));
                processParameters(parameters, transactionConfig, null);
                axisConfig.setTransactionConfig(transactionConfig);
            }



With Mettha,
Eran Chinthaka

--------------------------------------------------------------------
Health is the greatest gift; contentment is the greatest wealth; trusting is
the best relationship; nirvana is the highest joy. - Dhammapada


On Wed, Nov 19, 2008 at 12:19 PM, Paul Fremantle <pzfreo@gmail.com> wrote:

> Yes indeed!
>
> Paul
>
> On Wed, Nov 19, 2008 at 6:06 PM, David Illsley <davidillsley@gmail.com>
> wrote:
> > And possibly for UserTransaction support in the new Sandesha2
> > persistence module?
> > David
> >
> > On Wed, Nov 19, 2008 at 5:49 PM, Paul Fremantle <pzfreo@gmail.com>
> wrote:
> >> Irantha
> >>
> >> Its worth mentioning that this will also enable transactions in Axis2
> >> (e.g. using the JMS transport and having the JTA transaction passed
> >> through to a service and thence onto a database).
> >>
> >> Paul
> >>
> >> On Wed, Nov 19, 2008 at 4:04 PM, Davanum Srinivas <davanum@gmail.com>
> wrote:
> >>> Please log a JIRA issue.
> >>>
> >>> thanks,
> >>> dims
> >>>
> >>> On Wed, Nov 19, 2008 at 11:00 AM, Irantha <irantha@wso2.com> wrote:
> >>>> Axis2 patch to support  transaction configuration in axis2.xml.
> >>>>
> >>>> -Irantha
> >>>>
> >>>>
> >>>>> In oder to support JTA transactions in synapse, I'm working on
> changing
> >>>>> axis2 configuration (axis2.xml) to support following new transaction
> manager
> >>>>> definition.
> >>>>>
> >>>>> <transactionManager>
> >>>>>  <parameter name="string">text</parameter>*
> >>>>> </transactionManager>
> >>>>>
> >>>>> Example,
> >>>>>
> >>>>> <transactionManager>
> >>>>>  <parameter
> >>>>>
> name="java.naming.factory.initial">org.*jnp*.interfaces.NamingContextFactory</parameter>*
> >>>>>  <parameter
> name="java.naming.provider.url">localhost:1099</parameter>
> >>>>>  <parameter
> name="UserTransactionJNDIName">UserTransaction</parameter>
> >>>>> <parameter
> name="TransactionManagerJNDIName">TransactionManager</parameter>
> >>>>> </transactionManager>
> >>>>>
> >>>>>
> >>>>> -Irantha
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> >>>> For additional commands, e-mail: axis-dev-help@ws.apache.org
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Davanum Srinivas :: http://davanum.wordpress.com
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> >>> For additional commands, e-mail: axis-dev-help@ws.apache.org
> >>>
> >>>
> >>
> >>
> >>
> >> --
> >> Paul Fremantle
> >> Co-Founder and CTO, WSO2
> >> Apache Synapse PMC Chair
> >> OASIS WS-RX TC Co-chair
> >>
> >> blog: http://pzf.fremantle.org
> >> paul@wso2.com
> >>
> >> "Oxygenating the Web Service Platform", www.wso2.com
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-dev-help@ws.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-dev-help@ws.apache.org
> >
> >
>
>
>
> --
> Paul Fremantle
> Co-Founder and CTO, WSO2
> Apache Synapse PMC Chair
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>

Mime
View raw message