public class EventDrivenConsumerRoute extends DefaultRoute
DefaultRoute
which starts with an
Event Driven Consumer
Use the API from CamelContext
to control the lifecycle of a route,
such as starting and stopping using the RouteController.startRoute(String)
and RouteController.stopRoute(String)
methods.Constructor and Description |
---|
EventDrivenConsumerRoute(org.apache.camel.spi.RouteContext routeContext,
org.apache.camel.Endpoint endpoint,
org.apache.camel.Processor processor) |
Modifier and Type | Method and Description |
---|---|
protected void |
addServices(List<org.apache.camel.Service> services)
Factory method to lazily create the complete list of services required for this route
such as adding the processor or consumer
|
List<org.apache.camel.Processor> |
filter(String pattern) |
org.apache.camel.Consumer |
getConsumer() |
org.apache.camel.Processor |
getProcessor() |
org.apache.camel.Navigate<org.apache.camel.Processor> |
navigate() |
boolean |
supportsSuspension() |
String |
toString() |
addService, doShutdown, doStart, doStop, getDescription, getEndpoint, getGroup, getId, getProperties, getRouteContext, getServices, getUptime, getUptimeMillis, onStartingServices, start, stop, warmUp
doInit, doResume, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, suspend
public EventDrivenConsumerRoute(org.apache.camel.spi.RouteContext routeContext, org.apache.camel.Endpoint endpoint, org.apache.camel.Processor processor)
public String toString()
toString
in class DefaultRoute
public org.apache.camel.Processor getProcessor()
protected void addServices(List<org.apache.camel.Service> services) throws Exception
addServices
in class DefaultRoute
Exception
public org.apache.camel.Navigate<org.apache.camel.Processor> navigate()
public org.apache.camel.Consumer getConsumer()
public boolean supportsSuspension()
Apache Camel