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 |
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() |
Map<org.apache.camel.Route,org.apache.camel.Consumer> |
getInputs()
Gets the inputs to the routes.
|
org.apache.camel.Route |
getRoute() |
boolean |
isAutoStartup() |
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, stop
build, doBuild, doFail, doInit, doLifecycleChange, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public 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 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.FailedToStartRouteException
public boolean isAutoStartup()
protected void doStart()
doStart
in class org.apache.camel.support.service.BaseService
protected void doStop()
doStop
in class org.apache.camel.support.service.BaseService
protected void doShutdown()
doShutdown
in class org.apache.camel.support.service.BaseService
protected void doSuspend()
doSuspend
in class org.apache.camel.support.service.BaseService
protected void doResume()
doResume
in class org.apache.camel.support.service.BaseService
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)
protected void doGetRouteServices(List<org.apache.camel.Service> services)
Apache Camel