117118119120121122123124125126127
@Bean CamelContext camelContext() throws Exception { CamelContext camelContext = new SpringCamelContext(applicationContext); if (!configurationProperties.isJmxEnabled()) { camelContext.disableJMX(); } return camelContext; }