Versions Compared

Key

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

...

Value

Meaning

new

Creates a new JTA transaction. Generates a fault if a transaction already exist.

use-existing-or-new

Creates a new JTA transaction. Does nothing if a transaction exists.

fault-if-no-tx

Generates a fault if no transaction exist. Does nothing if a transaction exists.

commit

Commits transaction. Generates a fault if no transaction exists.

rollback

Rollbacks transaction. Generates a fault if no transaction exists.

suspend

Suspends transaction. Generates a fault if no transaction exists.

resume

Resumes transaction. Generates a fault if no transaction exists.

To use the Transaction Mediator, you need to have a JTA provider in your environment. It means is you need to deploy WSO2 ESB in an application sever which provide the JTA service. JBoss is an example of such application server.

...

titleTip

...

 

 

Excerpt
hiddentrue

General information about the transactions in WSO2 ESB.