Interface OnCamelContextStopped
- All Superinterfaces:
OnCamelContextEvent
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Event handler invoked after the
CamelContext has fully stopped.
Implementations are registered in the Registry and discovered by Camel during bootstrap. By the time this
callback fires all routes and services have been shut down, making it the place for final cleanup once the context is
no longer operational. For the full set of lifecycle callbacks see OnCamelContextEvent.
See Lifecycle in the Camel user manual.- Since:
- 3.5
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidonContextStopped(CamelContext context) Callback invoked after theCamelContexthas been stopped.
-
Method Details
-
onContextStopped
Callback invoked after theCamelContexthas been stopped.- Parameters:
context- the camel context
-