This documentation is for WSO2 Enterprise Service Bus version 4.8.1 . View documentation for the latest release.

All docs This doc
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

The Transaction Mediator can provide transaction functionality for its child mediators.



Syntax

<syn: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.


Example

For an example of using the Transaction mediator, see Transaction Mediator Example.

 

  • No labels