This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Transaction Mediator
The Transaction Mediator can provide transaction functionality for its child mediators.
Syntax
<transaction action="commit|fault-if-no-tx|new|resume|suspend|rollback|use-existing-or-new"/>
UI Configuration
Action:
- Commit transaction (commit) - Marks the transaction as completed and ends the transaction.
- Fault if no transaction (fault-if-no-tx) -Â Goes to error handler if no transaction.
- Initiate new transaction (new) -Â Entry point for a new transaction.
- Resume transaction (resume) -Â Resumes a paused transaction.
- Suspend transaction (suspend) -Â Pauses a transaction.
- Rollback transaction (rollback) -Â Rolls back a transaction.
- Use existing or initiate transaction (use-existing-or new) -Â If a transaction already exists, continue it or create a new transaction.
Note
You can configure the Mediator using XML. Click on "switch to source view" in the "Mediator" window.