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

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
location
maxLevel3
minLevel3
locationtop
styleborder:1
toptypeflat
separatorpipe

...

Syntax

Code Block
XML
XML
<syn:transaction<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.
Info
titleNote

You can configure the Mediator using XML. Click on "switch to source view" in the "Mediator" window.

...

Example

 

Image Removed

...

hiddentrue

...

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