org.mule.providers.jms
Class JmsClientAcknowledgeTransaction
java.lang.Object
org.mule.transaction.AbstractTransaction
org.mule.transaction.AbstractSingleResourceTransaction
org.mule.providers.jms.JmsClientAcknowledgeTransaction
- All Implemented Interfaces:
- org.mule.umo.UMOTransaction
- public class JmsClientAcknowledgeTransaction
- extends org.mule.transaction.AbstractSingleResourceTransaction
JmsClientAcknowledgeTransaction is a transaction
implementation of performing a message acknowledgement. There is no notion of
rollback with client acknowledgement, but this transaction can be useful for
controlling how messages are consumed from a destination.
- Version:
- $Revision: 3167 $
- Author:
- Ross Mason, Guillaume Nodet
| Fields inherited from class org.mule.transaction.AbstractSingleResourceTransaction |
committed, key, resource, rollbackOnly, rolledBack, started |
| Fields inherited from class org.mule.transaction.AbstractTransaction |
logger |
| Fields inherited from interface org.mule.umo.UMOTransaction |
STATUS_ACTIVE, STATUS_COMMITTED, STATUS_COMMITTING, STATUS_MARKED_ROLLBACK, STATUS_NO_TRANSACTION, STATUS_PREPARED, STATUS_PREPARING, STATUS_ROLLEDBACK, STATUS_ROLLING_BACK, STATUS_UNKNOWN |
| Methods inherited from class org.mule.transaction.AbstractSingleResourceTransaction |
begin, commit, getId, getResource, getStatus, hasResource, rollback, setRollbackOnly |
| Methods inherited from class org.mule.transaction.AbstractTransaction |
isBegun, isCommitted, isRollbackOnly, isRolledBack |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsClientAcknowledgeTransaction
public JmsClientAcknowledgeTransaction()
doBegin
protected void doBegin()
throws org.mule.umo.TransactionException
- Throws:
org.mule.umo.TransactionException
doCommit
protected void doCommit()
throws org.mule.umo.TransactionException
- Throws:
org.mule.umo.TransactionException
doRollback
protected void doRollback()
throws org.mule.umo.TransactionException
- Throws:
org.mule.umo.TransactionException
bindResource
public void bindResource(Object key,
Object resource)
throws org.mule.umo.TransactionException
- Throws:
org.mule.umo.TransactionException
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.