public class RouteService
extends org.apache.camel.support.ChildServiceSupport
| Constructor and Description |
|---|
RouteService(org.apache.camel.Route route) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGetRouteServices(List<org.apache.camel.Service> services)
Gather all other kind of route services from the given route, except error handler
|
protected void |
doResume() |
protected void |
doSetup() |
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
EndpointAware processors
which uses an endpoint. |
org.apache.camel.CamelContext |
getCamelContext() |
String |
getId() |
org.apache.camel.Consumer |
getInput() |
org.apache.camel.Route |
getRoute() |
protected void |
initChildServices(List<org.apache.camel.Service> services) |
boolean |
isAutoStartup() |
boolean |
isRemovingRoutes() |
void |
setRemovingRoutes(boolean removingRoutes) |
void |
setUp() |
protected void |
startChildServices(org.apache.camel.Route route,
List<org.apache.camel.Service> services) |
protected void |
stopChildServices(org.apache.camel.Route route,
Set<org.apache.camel.Service> services,
boolean shutdown) |
void |
warmUp() |
addChildService, removeChildService, shutdown, start, stopbuild, doBuild, doFail, doInit, doLifecycleChange, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic String getId()
public org.apache.camel.CamelContext getCamelContext()
public org.apache.camel.Route getRoute()
public Set<org.apache.camel.Endpoint> gatherEndpoints()
EndpointAware processors
which uses an endpoint.public org.apache.camel.Consumer getInput()
public boolean isRemovingRoutes()
public void setRemovingRoutes(boolean removingRoutes)
public void warmUp()
throws org.apache.camel.FailedToStartRouteException
org.apache.camel.FailedToStartRouteExceptionpublic void setUp()
throws org.apache.camel.FailedToStartRouteException
org.apache.camel.FailedToStartRouteExceptionpublic boolean isAutoStartup()
protected void doStart()
doStart in class org.apache.camel.support.service.BaseServiceprotected void doStop()
doStop in class org.apache.camel.support.service.BaseServiceprotected void doShutdown()
doShutdown in class org.apache.camel.support.service.BaseServiceprotected void doSuspend()
doSuspend in class org.apache.camel.support.service.BaseServiceprotected void doResume()
doResume in class org.apache.camel.support.service.BaseServiceprotected void initChildServices(List<org.apache.camel.Service> services)
protected void startChildServices(org.apache.camel.Route route,
List<org.apache.camel.Service> services)
protected void stopChildServices(org.apache.camel.Route route,
Set<org.apache.camel.Service> services,
boolean shutdown)
protected void doGetRouteServices(List<org.apache.camel.Service> services)
Apache Camel