org.mule.transport.jms
Class JmsTransactionFactory

java.lang.Object
  extended by org.mule.transport.jms.JmsTransactionFactory
All Implemented Interfaces:
TransactionFactory, UnboundTransactionFactory, UniversalTransactionFactory

public class JmsTransactionFactory
extends Object
implements UniversalTransactionFactory

JmsTransactionFactory creates a JMS local transaction


Constructor Summary
JmsTransactionFactory()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsTransactionFactory

public JmsTransactionFactory()
Method Detail

beginTransaction

public Transaction beginTransaction(MuleContext muleContext)
                             throws TransactionException
Description copied from interface: TransactionFactory
Create and begins a new transaction

Specified by:
beginTransaction in interface TransactionFactory
Returns:
a new Transaction
Throws:
TransactionException - if the transaction cannot be created or begun

isTransacted

public boolean isTransacted()
Description copied from interface: TransactionFactory
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.

Specified by:
isTransacted in interface TransactionFactory

getName

public String getName()

setName

public void setName(String name)

createUnboundTransaction

public Transaction createUnboundTransaction(MuleContext muleContext)
Specified by:
createUnboundTransaction in interface UnboundTransactionFactory


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.