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 |
onContextStopping(org.apache.camel.CamelContext context) |
adapt, adapt, adapt, adapt, adapt, adapt, adapt, adapt, adapt, onCamelContextInitialized, onCamelContextInitializing, onCamelContextStart, onCamelContextStarted, onCamelContextStarting, onCamelContextStop, onCamelContextStopped, onCamelContextStopping, onComponentAdd, onComponentRemove, onContextStart, onContextStop, onEndpointAdd, onEndpointRemove, onRouteContextCreate, onRoutesAdd, onRoutesRemove, onServiceAdd, onServiceRemove, onThreadPoolAdd, onThreadPoolRemovepublic MainLifecycleStrategy(MainShutdownStrategy shutdownStrategy)
Apache Camel