ppalaga 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_r344385789
##########
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:
That would re-introduce the double initialization of the routes.
I was thinking of filtering by `@ApplicationScoped` that can be done well
using Jandex: Builders having `@ApplicationScoped` would behave like in the
current proposal and all others could go via `CamelRoutesBuilderBuildItem`.
This would be more complex and thus potentially more buggy and harder to
maintain. Maybe you have a better idea?
----------------------------------------------------------------
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