Interface ManagedSupervisingRouteControllerMBean
- All Superinterfaces:
ManagedRouteControllerMBean
,ManagedServiceMBean
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
long
double
long
int
int
int
int
boolean
boolean
boolean
routeStatus
(boolean exhausted, boolean restarting, boolean includeStacktrace) Methods inherited from interface org.apache.camel.api.management.mbean.ManagedRouteControllerMBean
getControlledRoutes, getRouteStartupLoggingLevel, isHasUnhealthyRoutes, isStartingRoutes
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedServiceMBean
getCamelId, getCamelManagementName, getRouteId, getServiceType, getState, isStaticService, isSupportSuspension, isSuspended, resume, start, stop, suspend
-
Method Details
-
isEnabled
-
getThreadPoolSize
@ManagedAttribute(description="The number of threads used by the scheduled thread pool that are used for restarting routes") int getThreadPoolSize() -
getInitialDelay
@ManagedAttribute(description="Initial delay in milli seconds before the route controller starts") long getInitialDelay() -
getBackOffDelay
@ManagedAttribute(description="Backoff delay in millis when restarting a route that failed to startup") long getBackOffDelay() -
getBackOffMaxDelay
@ManagedAttribute(description="Backoff maximum delay in millis when restarting a route that failed to startup") long getBackOffMaxDelay() -
getBackOffMaxElapsedTime
@ManagedAttribute(description="Backoff maximum elapsed time in millis, after which the backoff should be considered exhausted and no more attempts should be made") long getBackOffMaxElapsedTime() -
getBackOffMaxAttempts
@ManagedAttribute(description="Backoff maximum number of attempts to restart a route that failed to startup") long getBackOffMaxAttempts() -
getBackOffMultiplier
@ManagedAttribute(description="Backoff multiplier to use for exponential backoff") double getBackOffMultiplier() -
getIncludeRoutes
@ManagedAttribute(description="Pattern for filtering routes to be included as supervised") String getIncludeRoutes() -
getExcludeRoutes
@ManagedAttribute(description="Pattern for filtering routes to be excluded as supervised") String getExcludeRoutes() -
isUnhealthyOnExhausted
@ManagedAttribute(description="Whether to mark the route as unhealthy (down) when all restarting attempts (backoff) have failed and the route is not successfully started and the route manager is giving up.") boolean isUnhealthyOnExhausted() -
isUnhealthyOnRestarting
@ManagedAttribute(description="Whether to mark the route as unhealthy (down) when the route failed to initially start, and is being controlled for restarting (backoff)") boolean isUnhealthyOnRestarting() -
getNumberOfControlledRoutes
@ManagedAttribute(description="Number of routes controlled by the controller") int getNumberOfControlledRoutes() -
getNumberOfRestartingRoutes
@ManagedAttribute(description="Number of routes which have failed to startup and are currently managed to be restarted") int getNumberOfRestartingRoutes() -
getNumberOfExhaustedRoutes
@ManagedAttribute(description="Number of routes which have failed all attempts to startup and are now exhausted") int getNumberOfExhaustedRoutes() -
getExhaustedRoutes
-
getRestartingRoutes
@ManagedAttribute(description="Routes that are restarting or scheduled to restart") Collection<String> getRestartingRoutes() -
routeStatus
@ManagedOperation(description="Lists detailed status about all the routes (incl failure details for routes failed to start)") TabularData routeStatus(boolean exhausted, boolean restarting, boolean includeStacktrace)
-