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

Ruwan Linton updated SYNAPSE-480:
---------------------------------

    Affects Version/s:     (was: FUTURE)
                       1.2

changed the affects version

> Transaction mediator for synapse
> --------------------------------
>
>                 Key: SYNAPSE-480
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-480
>             Project: Synapse
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 1.2
>            Reporter: irantha suwandarathna
>            Assignee: Ruwan Linton
>             Fix For: 1.3
>
>         Attachments: tx_mediator.patch, tx_mediator.patch
>
>
> New synapse mediator to manipulate JTA transactions. 
>  
> syanpse.xml configuration for new mediator:
> <transaction 
> action="new|use-existing-or-new|fault-if-no-tx|commit|rollback|suspend|resume"/>
>  
> Meaning of action attribute values are explained below:
> new : create a new jta transaction. generate a fault if a transaction already 
> exist.
> use-existing-or-new : create a new jta transaction. do nothing if a 
> transaction exist.
> fault-if-no-tx : generate a fault if no transaction exist.  do nothing if a 
> transaction exist.
> commit : commit transaction. generate a fault if no transaction exist.
> rollback: rollback transaction. generate a fault if no transaction exist.
> suspend: suspend transaction. generate a fault if no transaction exist.
> resume: resume transaction. generate a fault if no transaction exist.
>  
> There will be a new transaction configuration section in axis2.xml to define 
> UserTransaction (used to create a new transaction) and TransactionManager 
> (need for suspend and resume actions ) JNDI parameters.
> newly created usertransaction is assigned to axis2 message context property 
> named BaseConstants.USER_TRANSACTION and newly created transaction manager is 
> assigned to axis2 message context property named 
> BaseConstants.TRANSACTION_MANAGER
>  
> Same message context property is used by JMS transport when creating a new 
> usertransaction. 

-- 
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: dev-unsubscr...@synapse.apache.org
For additional commands, e-mail: dev-h...@synapse.apache.org

Reply via email to