You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by "irantha suwandarathna (JIRA)" <ji...@apache.org> on 2008/12/05 12:13:44 UTC

[jira] Updated: (SANDESHA2-185) Sandesha2 need to support JTA transactions

     [ https://issues.apache.org/jira/browse/SANDESHA2-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

irantha suwandarathna updated SANDESHA2-185:
--------------------------------------------

    Attachment: sandesa2_JTA.diff

Attached  initial Sandesha2 JTA transaction implementation diffs for review.
 
Last JTA transactions created in  InvocationWorker spans up to inserting SenderBean in ApplicationMessageProcessor (this transactions spans through the service invocation). 
At lease this works for the simplest configuration with no threads created in between.
 
To enable JTA transactions, add following assertion to Sandesha2 policy configuration,
 
<sandesha2:UseJTATransactions>true</sandesha2:UseJTATransactions>
 
Sandesha2 module configuration is changed as following to use JTA aware datasource for persistance,
 
<moduleConfig>
<parameter name="db.dsName">java:DerbyDS</parameter>
<parameter name="db.icClass">org.jnp.interfaces.NamingContextFactory</parameter>
<parameter name="db.url">localhost:1099</parameter>
<parameter name="db.user">synapse</parameter>
<parameter name="db.password">synapse</parameter>
</moduleConfig>


> Sandesha2 need to support JTA transactions
> ------------------------------------------
>
>                 Key: SANDESHA2-185
>                 URL: https://issues.apache.org/jira/browse/SANDESHA2-185
>             Project: Sandesha2
>          Issue Type: New Feature
>            Reporter: irantha suwandarathna
>         Attachments: sandesa2_JTA.diff
>
>
> Sandesha2 need to be able to participate in JTA transactions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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