The Transaction Mediator can provide transaction functionality for its child mediators.
Table of Contents |
---|
maxLevel | 3 |
---|
minLevel | 3 |
---|
style | border:1 |
---|
location | top |
---|
type | flat |
---|
separator | pipe |
---|
|
Code Block |
---|
|
<syn:transaction action="commit|fault-if-no-tx|new|resume|suspend|rollback|use-existing-or-new" />
|

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.
Info |
---|
|
You can configure the Mediator using XML. Click on "switch to source view" in the "Mediator" window. 
|
For an example of using the Transaction mediator, see Transaction Mediator Example.