public class XaTransactionFactory extends Object implements ExternalTransactionAwareTransactionFactory
XaTransactionFactory Is used to create/retrieve a Transaction from
a transaction manager configured on the MuleManager.| Constructor and Description |
|---|
XaTransactionFactory() |
| Modifier and Type | Method and Description |
|---|---|
Transaction |
beginTransaction(MuleContext muleContext)
Create and begins a new transaction
|
boolean |
isTransacted()
Determines whether this transaction factory creates transactions that are
really transacted or if they are being used to simulate batch actions, such as
using Jms Client Acknowledge.
|
Transaction |
joinExternalTransaction(MuleContext muleContext)
Create a Mule transaction that represents a transaction started outside of Mule
|
public Transaction beginTransaction(MuleContext muleContext) throws TransactionException
TransactionFactorybeginTransaction in interface TransactionFactoryTransactionException - if the transaction cannot be created or begunpublic Transaction joinExternalTransaction(MuleContext muleContext) throws TransactionException
joinExternalTransaction in interface ExternalTransactionAwareTransactionFactoryTransactionException - if the transaction cannot be created or begunpublic boolean isTransacted()
isTransacted in interface TransactionFactoryCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.