org.apache.camel.impl
Class EventDrivenConsumerRoute
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultRoute
org.apache.camel.impl.EventDrivenConsumerRoute
- All Implemented Interfaces:
- Route, Service, ShutdownableService
public class EventDrivenConsumerRoute
- extends DefaultRoute
A DefaultRoute
which starts with an
Event Driven Consumer
- Version:
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend |
EventDrivenConsumerRoute
public EventDrivenConsumerRoute(RouteContext routeContext,
Endpoint endpoint,
Processor processor)
toString
public String toString()
- Overrides:
toString
in class DefaultRoute
getProcessor
public Processor getProcessor()
addServices
protected void addServices(List<Service> services)
throws Exception
- Factory method to lazily create the complete list of services required for this route
such as adding the processor or consumer
- Overrides:
addServices
in class DefaultRoute
- Throws:
Exception
navigate
public Navigate<Processor> navigate()
- Description copied from interface:
Route
- Returns a navigator to navigate this route by navigating all the
Processor
s.
- Returns:
- a navigator for
Processor
.
getConsumer
public Consumer getConsumer()
- Description copied from interface:
Route
- Gets the inbound
Consumer
supportsSuspension
public boolean supportsSuspension()
- Description copied from interface:
Route
- Whether or not the route supports suspension
Apache CAMEL