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

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


<transaction action="commit|fault-if-no-tx|new|resume|suspend|rollback|use-existing-or-new"/>

UI configuration


  • 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.


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.

  • No labels