public interface CdiCamelConfiguration
CdiCamelConfiguration
event
during the deployment phase that the application can observe and use to configure it.
Note that the event fired can only be used within the observer method invocation context.
Any attempt to call one of its methods outside of that context will result in an
`IllegalStateException` to be thrown.Modifier and Type | Method and Description |
---|---|
boolean |
autoConfigureRoutes() |
CdiCamelConfiguration |
autoConfigureRoutes(boolean autoConfigureRoutes)
Overrides the Camel CDI behavior to automatically add all RouteBuilders to the corresponding Camel contexts.
|
boolean |
autoStartContexts() |
CdiCamelConfiguration |
autoStartContexts(boolean autoStartContexts)
Overrides the Camel CDI behavior to automatically start all Camel contexts.
|
CdiCamelConfiguration autoConfigureRoutes(boolean autoConfigureRoutes)
IllegalStateException
- if called outside of the observer method invocationboolean autoConfigureRoutes()
CdiCamelConfiguration autoStartContexts(boolean autoStartContexts)
IllegalStateException
- if called outside of the observer method invocationboolean autoStartContexts()
Apache Camel