Interface ManagedShutdownStrategyMBean
- All Superinterfaces:
ManagedServiceMBean
-
Method Summary
Modifier and TypeMethodDescriptionlongbooleanbooleanbooleanbooleanbooleanbooleanvoidsetLoggingLevel(String loggingLevel) voidsetLogInflightExchangesOnTimeout(boolean logInflightExchangesOnTimeout) voidsetShutdownNowOnTimeout(boolean shutdownNowOnTimeout) voidsetShutdownRoutesInReverseOrder(boolean shutdownRoutesInReverseOrder) voidsetSuppressLoggingOnTimeout(boolean suppressLoggingOnTimeout) voidsetTimeout(long timeout) voidsetTimeUnit(TimeUnit timeUnit) 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
-
setTimeout
-
getTimeout
-
setTimeUnit
-
getTimeUnit
-
setSuppressLoggingOnTimeout
@ManagedAttribute(description="Whether Camel should try to suppress logging during shutdown and timeout was triggered, meaning forced shutdown is happening.") void setSuppressLoggingOnTimeout(boolean suppressLoggingOnTimeout) -
isSuppressLoggingOnTimeout
@ManagedAttribute(description="Whether Camel should try to suppress logging during shutdown and timeout was triggered, meaning forced shutdown is happening.") boolean isSuppressLoggingOnTimeout() -
setShutdownNowOnTimeout
@ManagedAttribute(description="Whether to force shutdown of all consumers when a timeout occurred.") void setShutdownNowOnTimeout(boolean shutdownNowOnTimeout) -
isShutdownNowOnTimeout
@ManagedAttribute(description="Whether to force shutdown of all consumers when a timeout occurred.") boolean isShutdownNowOnTimeout() -
setShutdownRoutesInReverseOrder
@ManagedAttribute(description="Sets whether routes should be shutdown in reverse or the same order as they were started") void setShutdownRoutesInReverseOrder(boolean shutdownRoutesInReverseOrder) -
isShutdownRoutesInReverseOrder
@ManagedAttribute(description="Sets whether routes should be shutdown in reverse or the same order as they were started") boolean isShutdownRoutesInReverseOrder() -
setLogInflightExchangesOnTimeout
@ManagedAttribute(description="Whether to log information about the inflight Exchanges which are still running during a shutdown which didn\'t complete without the given timeout.") void setLogInflightExchangesOnTimeout(boolean logInflightExchangesOnTimeout) -
isLogInflightExchangesOnTimeout
@ManagedAttribute(description="Whether to log information about the inflight Exchanges which are still running during a shutdown which didn\'t complete without the given timeout.") boolean isLogInflightExchangesOnTimeout() -
isForceShutdown
@ManagedAttribute(description="Whether the shutdown strategy is forcing to shutdown") boolean isForceShutdown() -
isTimeoutOccurred
@ManagedAttribute(description="Whether a timeout has occurred during a shutdown.") boolean isTimeoutOccurred() -
getLoggingLevel
@ManagedAttribute(description="logging level used for logging shutdown activity (such as starting and stopping routes). The default logging level is DEBUG.") String getLoggingLevel() -
setLoggingLevel
@ManagedAttribute(description="logging level used for logging shutdown activity (such as starting and stopping routes). The default logging level is DEBUG.") void setLoggingLevel(String loggingLevel)
-