action
Transactions Configuration Reference
| 
Using Transactions in Flows This page provides reference information on the elements you can configure for transactions. For more information on how to configure transactions in flows, see Transaction Management.  | 
Abstract Transaction
A placeholder for transaction elements. Transactions allow a series of operations to be grouped together.
Attributes of <abstract-transaction…>
| Name | Description | 
|---|---|
The type of action the transaction should take, one of the following: NONE - Never participate in a transaction. ALWAYS_BEGIN - Always start a new transaction when receiving a message. An exception is thrown if a transaction already exists. BEGIN_OR_JOIN - If a transaction is already in progress when a message is received, join the transaction if possible. Otherwise, start a new transaction. ALWAYS_JOIN - Always expects a transaction to be in progress when a message is received. If there is no transaction, an exception is thrown. JOIN_IF_POSSIBLE - Join the current transaction if one is available. Otherwise, no transaction is created. NOT_SUPPORTED - Execute outside any existent transaction. Type: enumeration  | 
|
timeout  | 
Timeout for the transaction (ms). Type: integer  | 
No Child Elements of <abstract-transaction…>
Custom Transaction
A user-defined or otherwise unsupported third-party transactions.
Attributes of <custom-transaction…>
| Name | Description | 
|---|---|
action  | 
The type of action the transaction should take, one of the following: NONE - Never participate in a transaction. ALWAYS_BEGIN - Always start a new transaction when receiving a message. An exception will be thrown if a transaction already exists. BEGIN_OR_JOIN - If a transaction is already in progress when a message is received, join the transaction if possible. Otherwise, start a new transaction. ALWAYS_JOIN - Always expects a transaction to be in progress when a message is received. If there is no transaction, an exception is thrown. JOIN_IF_POSSIBLE - Join the current transaction if one is available. Otherwise, no transaction is created. NOT_SUPPORTED - Execute outside any existent transaction. Type: enumeration  | 
timeout  | 
Timeout for the transaction (ms). Type: integer  | 
factory-class  | 
A class that implements the TransactionFactory interface to instantiate and use to generate a transaction. This attribute and the 'factory-ref' attribute are mutually exclusive; one of the two is required. Type: class name  | 
factory-ref  | 
A bean that implements the TransactionFactory interface to use to generate a transaction. This attribute and the 'factory-class' attribute are mutually exclusive; one of the two is required. Type: string  | 
No Child Elements of <custom-transaction…>
XA Transaction
An XA transaction.
Attributes of <xa-transaction…>
| Name | Description | 
|---|---|
action  | 
The type of action the transaction should take, one of the following: NONE - Never participate in a transaction. ALWAYS_BEGIN - Always start a new transaction when receiving a message. An exception is thrown if a transaction already exists. BEGIN_OR_JOIN - If a transaction is already in progress when a message is received, join the transaction if possible. Otherwise, start a new transaction. ALWAYS_JOIN - Always expects a transaction to be in progress when a message is received. If there is no transaction, an exception is thrown. JOIN_IF_POSSIBLE - Join the current transaction if one is available. Otherwise, no transaction is created. NOT_SUPPORTED - Execute outside any existent transaction. Type: enumeration  | 
timeout  | 
Timeout for the transaction (ms). Type: integer  | 
interactWithExternal  | 
If this is set to "true", Mule interacts with transactions begun outside of Mule. For example, if an external transaction is active, then BEGIN_OR_JOIN joins it, and ALWAYS_BEGIN causes an exception to be thrown. Type: boolean  | 
No Child Elements of <xa-transaction…>



