jskillin-idt opened a new issue, #3844:
URL: https://github.com/apache/camel-quarkus/issues/3844

   In my setup, I have an extension with the jandex plugin applied to it so 
that the JARs contain a jandex.idx file. The build steps appear to run 
correctly, and record correctly. However, at runtime, when a Quarkus app 
attempts to get beans of type RouteBuilder, the RouteBuilder beans belonging to 
that extension get duplicated, and the duplicate instance has not had its 
constructor run. This duplicate bean later causes a runtime exception.
   
   This could be user error; perhaps you don't want jandex indexes created for 
Quarkus extensions intended for Camel? Or perhaps this is indeed a bug in the 
way that Quarkus and Camel interact.
   
   To reproduce, roughly speaking:
   1. Create an extension and apply the jandex plugin to the runtime and 
deployment projects.
   2. Create an application with a test that attempts to use Camel's registry 
to retrieve the RouteBuilder beans.
   
   I am using Quarkus 2.9.2.Final, Camel 3.16.0, and camel-quarkus 2.9.0.
   
   A reproduction git repo will be linked once the issue is posted.


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to