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 <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Yes indeed!
Paul
On Wed, Nov 19, 2008 at 6:06 PM, David Illsley
<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
> And possibly for UserTransaction support in the new Sandesha2
> persistence module?
> David
>
> On Wed, Nov 19, 2008 at 5:49 PM, Paul Fremantle
<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 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
<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>>> Please log a JIRA issue.
>>>
>>> thanks,
>>> dims
>>>
>>> On Wed, Nov 19, 2008 at 11:00 AM, Irantha <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> 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: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
>>>>
>>>
>>>
>>>
>>> --
>>> Davanum Srinivas :: http://davanum.wordpress.com
>>>
>>>
---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
>>> For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
>>>
>>>
>>
>>
>>
>> --
>> Paul Fremantle
>> Co-Founder and CTO, WSO2
>> Apache Synapse PMC Chair
>> OASIS WS-RX TC Co-chair
>>
>> blog: http://pzf.fremantle.org
>> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>>
>> "Oxygenating the Web Service Platform", www.wso2.com
<http://www.wso2.com>
>>
>>
---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
>>
>>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
>
>
--
Paul Fremantle
Co-Founder and CTO, WSO2
Apache Synapse PMC Chair
OASIS WS-RX TC Co-chair
blog: http://pzf.fremantle.org
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
"Oxygenating the Web Service Platform", www.wso2.com
<http://www.wso2.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>