...
Code Block | ||
---|---|---|
| ||
static void configuration(@Observes CdiCamelConfiguration configuration) { configuration.autoConfigureRoutes(false); } |
Similarly, it is possible to deactivate the automatic starting of the configured CamelContext
beans, e.g.:
Code Block | ||
---|---|---|
| ||
static void configuration(@Observes CdiCamelConfiguration configuration) {
configuration.autoStartContexts(false);
} |
Auto-Configured Camel Primitives
...