davsclaus commented on pull request #1526: URL: https://github.com/apache/camel-quarkus/pull/1526#issuecomment-672675824
The test in org.apache.camel.quarkus.core.CoreTest#testLookupRoutes has a TODO as the 2nd route from RouteBuilderConfigurer is not discovered. It uses @Produces annotation from JEE but Camel cannot discover it. Not sure how we can make this possible. The regular RouteBuilder classes are discovered via jandex index and added during recorder magic. I would assume a @Produces annotation from CDI/JEE would also work. But since the bean is not injected somewhere then arc may not trigger it. So maybe we need some jandex magic to discover all methods that returns a RouteBuilderConfigurer and are annotated with @Produces should then record the method, or whatever needs to be done. ---------------------------------------------------------------- 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