davsclaus commented on code in PR #1097:
URL: 
https://github.com/apache/camel-spring-boot/pull/1097#discussion_r1508650168


##########
core/camel-spring-boot-xml/src/main/java/org/apache/camel/spring/boot/xml/SpringBootXmlCamelContextConfigurer.java:
##########
@@ -47,7 +49,9 @@ public void configure(ApplicationContext applicationContext, 
SpringCamelContext
             // spring boot is not capable at this phase to use an injector 
that is creating beans
             // via spring-boot itself, so use a default injector instead
             camelContext.setInjector(new DefaultInjector(camelContext));
-            CamelAutoConfiguration.doConfigureCamelContext(applicationContext, 
camelContext, config);
+
+            // TODO: not sure how this works TBH
+            CamelAutoConfiguration.doConfigureCamelContext(applicationContext, 
camelContext, List.of(), config);

Review Comment:
   Yeah this is for old legacy Spring XML with embedded `<camelContext>` in 
Spring `<beans>` XML files. that you run inside spring boot.



-- 
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

Reply via email to