public abstract class BaseRouteService
extends org.apache.camel.support.ChildServiceSupport
| Constructor and Description | 
|---|
| BaseRouteService(org.apache.camel.Route route) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract void | doGetRouteScopedServices(List<org.apache.camel.Service> services)Gather all other kind of route scoped services from the given route, except error handler | 
| protected void | doResume() | 
| protected void | doShutdown() | 
| protected void | doStart() | 
| protected void | doStop() | 
| protected void | doSuspend() | 
| protected void | doWarmUp() | 
| Set<org.apache.camel.Endpoint> | gatherEndpoints()Gather all the endpoints this route service uses
 
 This implementation finds the endpoints by searching all the child services
 for  EndpointAwareprocessors which uses an endpoint. | 
| org.apache.camel.CamelContext | getCamelContext() | 
| String | getId() | 
| Map<org.apache.camel.Route,org.apache.camel.Consumer> | getInputs()Gets the inputs to the routes. | 
| org.apache.camel.Route | getRoute() | 
| org.apache.camel.spi.RouteContext | getRouteContext() | 
| protected abstract String | getRouteDescription() | 
| abstract Integer | getStartupOrder() | 
| abstract boolean | isAutoStartup() | 
| abstract boolean | isContextScopedErrorHandler() | 
| boolean | isRemovingRoutes() | 
| void | setRemovingRoutes(boolean removingRoutes) | 
| protected void | startChildService(org.apache.camel.Route route,
                 List<org.apache.camel.Service> services) | 
| protected void | stopChildService(org.apache.camel.Route route,
                Set<org.apache.camel.Service> services,
                boolean shutdown) | 
| void | warmUp() | 
addChildService, removeChildService, shutdown, start, stopbuild, doBuild, doInit, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, suspendpublic String getId()
public org.apache.camel.CamelContext getCamelContext()
public org.apache.camel.spi.RouteContext getRouteContext()
public org.apache.camel.Route getRoute()
public abstract Integer getStartupOrder()
public Set<org.apache.camel.Endpoint> gatherEndpoints()
EndpointAware processors which uses an endpoint.public Map<org.apache.camel.Route,org.apache.camel.Consumer> getInputs()
Consumer as inputs for the routespublic boolean isRemovingRoutes()
public void setRemovingRoutes(boolean removingRoutes)
public void warmUp()
            throws org.apache.camel.FailedToStartRouteException
org.apache.camel.FailedToStartRouteExceptionprotected abstract String getRouteDescription()
protected void doStart()
doStart in class org.apache.camel.support.service.ServiceSupportprotected void doStop()
doStop in class org.apache.camel.support.service.ServiceSupportprotected void doShutdown()
doShutdown in class org.apache.camel.support.service.ServiceSupportprotected void doSuspend()
doSuspend in class org.apache.camel.support.service.ServiceSupportprotected void doResume()
doResume in class org.apache.camel.support.service.ServiceSupportprotected void startChildService(org.apache.camel.Route route,
                                 List<org.apache.camel.Service> services)
protected void stopChildService(org.apache.camel.Route route,
                                Set<org.apache.camel.Service> services,
                                boolean shutdown)
public abstract boolean isContextScopedErrorHandler()
protected abstract void doGetRouteScopedServices(List<org.apache.camel.Service> services)
Apache Camel