public class JmsTransactionFactory extends Object implements UniversalTransactionFactory
JmsTransactionFactory
creates a JMS local transaction
Constructor and Description |
---|
JmsTransactionFactory() |
Modifier and Type | Method and Description |
---|---|
Transaction |
beginTransaction(MuleContext muleContext)
Create and begins a new transaction
|
Transaction |
createUnboundTransaction(MuleContext muleContext) |
String |
getName() |
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.
|
void |
setName(String name) |
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 String getName()
public void setName(String name)
public Transaction createUnboundTransaction(MuleContext muleContext)
createUnboundTransaction
in interface UnboundTransactionFactory
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.