org.apache.camel.component.sjms.tx
Class SessionBatchTransactionSynchronization.TimeoutTask

java.lang.Object
  extended by java.util.TimerTask
      extended by org.apache.camel.component.sjms.tx.SessionBatchTransactionSynchronization.TimeoutTask
All Implemented Interfaces:
Runnable
Enclosing class:
SessionBatchTransactionSynchronization

public final class SessionBatchTransactionSynchronization.TimeoutTask
extends TimerTask


Method Summary
 boolean cancel()
           
 void run()
          When the timer executes, either commits or rolls back the session transaction.
 
Methods inherited from class java.util.TimerTask
scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

run

public void run()
When the timer executes, either commits or rolls back the session transaction.

Specified by:
run in interface Runnable
Specified by:
run in class TimerTask

cancel

public boolean cancel()
Overrides:
cancel in class TimerTask


Apache Camel