public class RouteService extends org.apache.camel.impl.engine.BaseRouteService
RouteDefinition
so that it can be stopped independently
of other routesConstructor and Description |
---|
RouteService(org.apache.camel.Route route) |
Modifier and Type | Method and Description |
---|---|
protected void |
doGetRouteScopedServices(List<org.apache.camel.Service> services)
Gather all other kind of route scoped services from the given route, except error handler
|
RouteDefinition |
getRouteDefinition() |
protected String |
getRouteDescription() |
Integer |
getStartupOrder() |
boolean |
isAutoStartup() |
boolean |
isContextScopedErrorHandler() |
doResume, doShutdown, doStart, doStop, doSuspend, doWarmUp, gatherEndpoints, getCamelContext, getId, getInputs, getRoute, getRouteContext, isRemovingRoutes, setRemovingRoutes, startChildService, stopChildService, warmUp
addChildService, removeChildService, shutdown, start, stop
public RouteService(org.apache.camel.Route route)
public RouteDefinition getRouteDefinition()
public Integer getStartupOrder()
getStartupOrder
in class org.apache.camel.impl.engine.BaseRouteService
protected String getRouteDescription()
getRouteDescription
in class org.apache.camel.impl.engine.BaseRouteService
public boolean isAutoStartup() throws Exception
isAutoStartup
in class org.apache.camel.impl.engine.BaseRouteService
Exception
public boolean isContextScopedErrorHandler()
isContextScopedErrorHandler
in class org.apache.camel.impl.engine.BaseRouteService
protected void doGetRouteScopedServices(List<org.apache.camel.Service> services)
doGetRouteScopedServices
in class org.apache.camel.impl.engine.BaseRouteService
Apache Camel