[GitHub] [camel-quarkus] jskillin-idt commented on issue #3844: If jandex is present in an extension, the RouteBuilder beans created by a runtime extension appear to be duplicated

2022-06-13 Thread GitBox


jskillin-idt commented on issue #3844:
URL: https://github.com/apache/camel-quarkus/issues/3844#issuecomment-1154109185

   Is it an unexpected for a user of camel-quarkus to produce synthetic 
RouteBuilder beans for Camel to discover later? If so, does that mean that 
producing RouteBuilder's is invalid while 
"quarkus.camel.routes-discovery.enabled" is set to true?


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



[GitHub] [camel-quarkus] jskillin-idt commented on issue #3844: If jandex is present in an extension, the RouteBuilder beans created by a runtime extension appear to be duplicated

2022-06-09 Thread GitBox


jskillin-idt commented on issue #3844:
URL: https://github.com/apache/camel-quarkus/issues/3844#issuecomment-1151368788

   Hey James,
   
   I think the downfall of the minimal reproduction I created is it doesn't do 
a good job demonstrating the intent behind the design. What RouteBuilders are 
available is not known at the time of writing this code. The app will live in a 
different location and there will be many of them. The idea is that the 
extensions will build RouteBuilders in response to customized rules.
   
   If we disable this bootstrapping that Camel does, is there additional work 
to do to replace that functionality? I can do more investigation on this as I'm 
somewhat new to this ecosystem.


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



[GitHub] [camel-quarkus] jskillin-idt commented on issue #3844: If jandex is present in an extension, the RouteBuilder beans created by a runtime extension appear to be duplicated

2022-06-08 Thread GitBox


jskillin-idt commented on issue #3844:
URL: https://github.com/apache/camel-quarkus/issues/3844#issuecomment-1150467657

   Here is what should be seen from the test output (and then Gradle links a 
fuller test report complete with the standard output that has the full stack 
trace):
   ```
   ExampleTest > test() FAILED
   java.lang.RuntimeException at QuarkusTestExtension.java:632
   Caused by: java.lang.RuntimeException at null:-1
   Caused by: java.lang.RuntimeException at 
CamelBootstrapRecorder.java:47
   Caused by: java.lang.RuntimeException at 
CamelMainRuntime.java:65
   Caused by: java.lang.NullPointerException at 
ExampleRouteBuilder.java:17
   ```


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



[GitHub] [camel-quarkus] jskillin-idt commented on issue #3844: If jandex is present in an extension, the RouteBuilder beans created by a runtime extension appear to be duplicated

2022-06-08 Thread GitBox


jskillin-idt commented on issue #3844:
URL: https://github.com/apache/camel-quarkus/issues/3844#issuecomment-1150466853

   I should probably mention that simply running "./gradlew build" is enough to 
reproduce the issue.


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