org.apache.camel.bam.processor
Class ActivityMonitorEngine
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.bam.processor.ActivityMonitorEngine
- All Implemented Interfaces:
- Runnable, org.apache.camel.Service
public class ActivityMonitorEngine
- extends org.apache.camel.impl.ServiceSupport
- implements Runnable
A timer engine to monitor for expired activities and perform whatever actions are required.
- Version:
- $Revision: $
Constructor Summary |
ActivityMonitorEngine(org.springframework.orm.jpa.JpaTemplate template,
org.springframework.transaction.support.TransactionTemplate transactionTemplate,
ProcessRules rules)
|
Methods inherited from class org.apache.camel.impl.ServiceSupport |
isStarted, isStopped, isStopping, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActivityMonitorEngine
public ActivityMonitorEngine(org.springframework.orm.jpa.JpaTemplate template,
org.springframework.transaction.support.TransactionTemplate transactionTemplate,
ProcessRules rules)
isUseLocking
public boolean isUseLocking()
setUseLocking
public void setUseLocking(boolean useLocking)
run
public void run()
- Specified by:
run
in interface Runnable
fireExpiredEvent
protected void fireExpiredEvent(ActivityState activityState)
doStart
protected void doStart()
throws Exception
- Specified by:
doStart
in class org.apache.camel.impl.ServiceSupport
- Throws:
Exception
doStop
protected void doStop()
throws Exception
- Specified by:
doStop
in class org.apache.camel.impl.ServiceSupport
- Throws:
Exception
Copyright © 2007 Apache Software Foundation. All Rights Reserved.