axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Irantha <iran...@wso2.com>
Subject Re: Patch - Axis2 configuration to support synapse transactions
Date Thu, 20 Nov 2008 04:35:41 GMT
New patch is attached to JIRA issue AXIS2-4138.

-Irantha

Eran Chinthaka wrote:
> 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 
> <mailto:pzfreo@gmail.com>> wrote:
>
>     Yes indeed!
>
>     Paul
>
>     On Wed, Nov 19, 2008 at 6:06 PM, David Illsley
>     <davidillsley@gmail.com <mailto: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 <mailto: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 <mailto:davanum@gmail.com>> wrote:
>     >>> Please log a JIRA issue.
>     >>>
>     >>> thanks,
>     >>> dims
>     >>>
>     >>> On Wed, Nov 19, 2008 at 11:00 AM, Irantha <irantha@wso2.com
>     <mailto: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
>     <mailto:axis-dev-unsubscribe@ws.apache.org>
>     >>>> For additional commands, e-mail: axis-dev-help@ws.apache.org
>     <mailto:axis-dev-help@ws.apache.org>
>     >>>>
>     >>>
>     >>>
>     >>>
>     >>> --
>     >>> Davanum Srinivas :: http://davanum.wordpress.com
>     >>>
>     >>>
>     ---------------------------------------------------------------------
>     >>> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
>     <mailto:axis-dev-unsubscribe@ws.apache.org>
>     >>> For additional commands, e-mail: axis-dev-help@ws.apache.org
>     <mailto: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 <mailto:paul@wso2.com>
>     >>
>     >> "Oxygenating the Web Service Platform", www.wso2.com
>     <http://www.wso2.com>
>     >>
>     >>
>     ---------------------------------------------------------------------
>     >> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
>     <mailto:axis-dev-unsubscribe@ws.apache.org>
>     >> For additional commands, e-mail: axis-dev-help@ws.apache.org
>     <mailto:axis-dev-help@ws.apache.org>
>     >>
>     >>
>     >
>     >
>     ---------------------------------------------------------------------
>     > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
>     <mailto:axis-dev-unsubscribe@ws.apache.org>
>     > For additional commands, e-mail: axis-dev-help@ws.apache.org
>     <mailto: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 <mailto:paul@wso2.com>
>
>     "Oxygenating the Web Service Platform", www.wso2.com
>     <http://www.wso2.com>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
>     <mailto:axis-dev-unsubscribe@ws.apache.org>
>     For additional commands, e-mail: axis-dev-help@ws.apache.org
>     <mailto:axis-dev-help@ws.apache.org>
>
>


Mime
View raw message