lburgazzoli commented on a change in pull request #358: Fix #136 
@ConfigProperty and @Inject do not work in RouteBuilders
URL: https://github.com/apache/camel-quarkus/pull/358#discussion_r344665013
 
 

 ##########
 File path: 
extensions/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/BuildProcessor.java
 ##########
 @@ -232,7 +228,6 @@ CamelMainBuildItem main(
                 CamelContextBuildItem context,
                 CamelRoutesCollectorBuildItem routesCollector,
                 List<CamelMainListenerBuildItem> listeners,
-                List<CamelRoutesBuilderBuildItem> routesBuilders,
 
 Review comment:
   No CamelBeanBuildItem is - IMHO - the right bean to use as every route bound 
to the registry is then automatically discovered so CamelRoutesBuilderBuildItem 
is superfluous but that is a minor issue.
   
   The problem about using ArC in STATIC_INIT is that it may not be aware of 
the "runtime beans" at that point in time, at least in my experience.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to