public interface MainListener
Modifier and Type | Method and Description |
---|---|
void |
afterStart(MainSupport main)
Callback after the CamelContext has been started.
|
void |
afterStop(MainSupport main)
Callback after the CamelContext has been stopped.
|
void |
beforeStart(MainSupport main)
Callback before the CamelContext is being created and started.
|
void |
beforeStop(MainSupport main)
Callback before the CamelContext is being stopped.
|
void |
configure(org.apache.camel.CamelContext context)
Callback to configure the created CamelContext.
|
void configure(org.apache.camel.CamelContext context)
context
- the created CamelContextvoid beforeStart(MainSupport main)
main
- the main instancevoid afterStart(MainSupport main)
main
- the main instancevoid beforeStop(MainSupport main)
main
- the main instancevoid afterStop(MainSupport main)
main
- the main instanceApache Camel