public class VMTransactionFactory extends Object implements UniversalTransactionFactory
Modifier and Type | Field and Description |
---|---|
static UniversalTransactionFactory |
factoryDelegate |
Constructor and Description |
---|
VMTransactionFactory() |
Modifier and Type | Method and Description |
---|---|
Transaction |
beginTransaction(MuleContext muleContext)
Create and begins a new transaction
|
Transaction |
createUnboundTransaction(MuleContext muleContext) |
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.
|
static void |
setFactoryDelegate(UniversalTransactionFactory factoryDelegate)
Deprecated.
For customizing the behavior of VM transport the whole
QueueManager should be override |
public static UniversalTransactionFactory factoryDelegate
public Transaction beginTransaction(MuleContext muleContext) throws TransactionException
TransactionFactory
beginTransaction
in interface TransactionFactory
TransactionException
- if the transaction cannot be created or begunpublic boolean isTransacted()
TransactionFactory
isTransacted
in interface TransactionFactory
public static void setFactoryDelegate(UniversalTransactionFactory factoryDelegate)
QueueManager
should be overridefactoryDelegate
- public Transaction createUnboundTransaction(MuleContext muleContext) throws TransactionException
createUnboundTransaction
in interface UnboundTransactionFactory
TransactionException
Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.