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_r344900212
##########
File path:
extensions/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/BuildProcessor.java
##########
@@ -274,6 +325,18 @@ void beans(BuildProducer<AdditionalBeanBuildItem>
beanProducer) {
beanProducer.produce(AdditionalBeanBuildItem.unremovableOf(CamelMainProducers.class));
}
+ @BuildStep(onlyIf = Flags.MainEnabled.class)
Review comment:
maybe add also some lines about the reason of adding unremoveable beans
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services