public class MainLifecycleStrategy
extends org.apache.camel.support.LifecycleStrategySupport
LifecycleStrategy to trigger shutdown of the Main JVM
when CamelContext is stopped from JMX or its stop method is invoked from Java code.| Constructor and Description |
|---|
MainLifecycleStrategy(MainShutdownStrategy shutdownStrategy) |
| Modifier and Type | Method and Description |
|---|---|
void |
onContextStop(org.apache.camel.CamelContext context) |
adapt, adapt, adapt, adapt, onCamelContextInitialized, onCamelContextStart, onCamelContextStop, onComponentAdd, onComponentRemove, onContextStart, onEndpointAdd, onEndpointRemove, onErrorHandlerAdd, onErrorHandlerRemove, onRouteContextCreate, onRoutesAdd, onRoutesRemove, onServiceAdd, onServiceRemove, onThreadPoolAdd, onThreadPoolRemovepublic MainLifecycleStrategy(MainShutdownStrategy shutdownStrategy)
Apache Camel