org.apache.camel.component.sjms.tx
Class SessionBatchTransactionSynchronization
java.lang.Object
org.apache.camel.component.sjms.tx.SessionBatchTransactionSynchronization
- All Implemented Interfaces:
- org.apache.camel.spi.Synchronization
public class SessionBatchTransactionSynchronization
- extends Object
- implements org.apache.camel.spi.Synchronization
SessionTransactionSynchronization is called at the completion of each
Exchange
.
Method Summary |
void |
onComplete(org.apache.camel.Exchange exchange)
|
void |
onFailure(org.apache.camel.Exchange exchange)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionBatchTransactionSynchronization
public SessionBatchTransactionSynchronization(TimedTaskManager timedTaskManager,
javax.jms.Session session,
TransactionCommitStrategy commitStrategy,
long batchTransactionTimeout)
onFailure
public void onFailure(org.apache.camel.Exchange exchange)
- Specified by:
onFailure
in interface org.apache.camel.spi.Synchronization
onComplete
public void onComplete(org.apache.camel.Exchange exchange)
- Specified by:
onComplete
in interface org.apache.camel.spi.Synchronization
Apache Camel