Interface OnCamelContextStarting
- 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 while the
CamelContext is starting, before it has fully started.
Implementations are registered in the Registry and discovered by Camel during bootstrap. This callback fires
as the context begins starting its routes and services, suiting work that must run just before the context becomes
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 TypeMethodDescriptionvoidonContextStarting(CamelContext context) Callback invoked while theCamelContextis starting.
-
Method Details
-
onContextStarting
Callback invoked while theCamelContextis starting.- Parameters:
context- the camel context
-