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:
- UMOTransaction
- public class JmsClientAcknowledgeTransaction
- extends 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: 1.5 $
- Author:
- Ross Mason, Guillaume Nodet
Method Summary |
void |
bindResource(java.lang.Object key,
java.lang.Object resource)
|
protected void |
doBegin()
Really begin the transaction. |
protected void |
doCommit()
Commit the transaction on the underlying resource |
protected void |
doRollback()
Rollback the transaction on the underlying resource |
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 TransactionException
- Description copied from class:
AbstractSingleResourceTransaction
- Really begin the transaction.
Note that resources are enlisted yet.
- Specified by:
doBegin
in class AbstractSingleResourceTransaction
- Throws:
TransactionException
doCommit
protected void doCommit()
throws TransactionException
- Description copied from class:
AbstractSingleResourceTransaction
- Commit the transaction on the underlying resource
- Specified by:
doCommit
in class AbstractSingleResourceTransaction
- Throws:
TransactionException
doRollback
protected void doRollback()
throws TransactionException
- Description copied from class:
AbstractSingleResourceTransaction
- Rollback the transaction on the underlying resource
- Specified by:
doRollback
in class AbstractSingleResourceTransaction
- Throws:
TransactionException
bindResource
public void bindResource(java.lang.Object key,
java.lang.Object resource)
throws TransactionException
- Specified by:
bindResource
in interface UMOTransaction
- Overrides:
bindResource
in class AbstractSingleResourceTransaction
- Throws:
TransactionException
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.