JiriOndrusek commented on code in PR #9040:
URL: https://github.com/apache/camel-quarkus/pull/9040#discussion_r3841711319


##########
extensions/langchain4j-ingest/deployment/src/main/java/org/apache/camel/quarkus/component/langchain4j/ingest/deployment/Langchain4jIngestProcessor.java:
##########
@@ -73,6 +73,29 @@ AdditionalBeanBuildItem beans() {
                 .build();
     }
 
+    /**
+     * {@code #class:} beans are instantiated reflectively, which native mode 
allows only for
+     * registered classes: the two camel-core repositories the documentation 
recommends, plus
+     * every {@code IdempotentRepository} implementation the Jandex index 
knows — application
+     * classes always, third-party ones when their jar carries an index.
+     */
+    @BuildStep
+    void repositoryReflection(CombinedIndexBuildItem combinedIndex,

Review Comment:
   Yes that is correct, the doc already contains that information:
   ```
   For native mode the extension registers the camel-core repositories shown 
here and every `IdempotentRepository` implementation found in the Jandex index 
— application classes always, component-provided ones through their jar's 
index. A class from a jar without an index needs 
`@RegisterForReflection(targets = ...)` or a `quarkus.index-dependency.*` entry.
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to