org.apache.camel.bam.rules
Class ProcessRules

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      extended by org.apache.camel.bam.rules.ProcessRules
All Implemented Interfaces:
org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.StatefulService, org.apache.camel.SuspendableService

public class ProcessRules
extends org.apache.camel.support.ServiceSupport

Version:

Field Summary
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
ProcessRules()
           
 
Method Summary
protected  void doStart()
           
protected  void doStop()
           
 List<ActivityRules> getActivities()
           
 ProcessDefinition getProcessDefinition()
           
 void processExchange(org.apache.camel.Exchange exchange, ProcessInstance process)
           
 void processExpired(ActivityState activityState)
           
 void setProcessDefinition(ProcessDefinition processDefinition)
           
 
Methods inherited from class org.apache.camel.support.ServiceSupport
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessRules

public ProcessRules()
Method Detail

processExpired

public void processExpired(ActivityState activityState)
                    throws Exception
Throws:
Exception

processExchange

public void processExchange(org.apache.camel.Exchange exchange,
                            ProcessInstance process)

getActivities

public List<ActivityRules> getActivities()

getProcessDefinition

public ProcessDefinition getProcessDefinition()

setProcessDefinition

public void setProcessDefinition(ProcessDefinition processDefinition)

doStart

protected void doStart()
                throws Exception
Specified by:
doStart in class org.apache.camel.support.ServiceSupport
Throws:
Exception

doStop

protected void doStop()
               throws Exception
Specified by:
doStop in class org.apache.camel.support.ServiceSupport
Throws:
Exception


Apache CAMEL