lburgazzoli commented on code in PR #1097: URL: https://github.com/apache/camel-spring-boot/pull/1097#discussion_r1511013365
########## core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java: ########## @@ -95,19 +99,23 @@ public class CamelAutoConfiguration { @ConditionalOnMissingBean(CamelContext.class) CamelContext camelContext(ApplicationContext applicationContext, CamelConfigurationProperties config, - CamelBeanPostProcessor beanPostProcessor) throws Exception { + CamelBeanPostProcessor beanPostProcessor, + List<CamelContextCustomizer> contextCustomizers) throws Exception { + CamelContext camelContext = new SpringBootCamelContext(applicationContext, config.isWarnOnEarlyShutdown()); // bean post processor is created before CamelContext beanPostProcessor.setCamelContext(camelContext); camelContext.getCamelContextExtension().addContextPlugin(CamelBeanPostProcessor.class, beanPostProcessor); - return doConfigureCamelContext(applicationContext, camelContext, config); + + return doConfigureCamelContext(applicationContext, camelContext, contextCustomizers, config); } /** * Not to be used by Camel end users */ public static CamelContext doConfigureCamelContext(ApplicationContext applicationContext, CamelContext camelContext, + List<CamelContextCustomizer> contextCustomizers, Review Comment: Not needed anymore (moved to camel-main: https://github.com/apache/camel/pull/13376) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org