You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2025/09/10 06:49:47 UTC

(camel-quarkus) branch main updated: Register reflective fields on types participating in AI services

This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/main by this push:
     new da14b316cf Register reflective fields on types participating in AI services
da14b316cf is described below

commit da14b316cf533b540910f1c84d6ca104c565c72d
Author: James Netherton <ja...@gmail.com>
AuthorDate: Wed Sep 10 07:48:16 2025 +0100

    Register reflective fields on types participating in AI services
---
 .../support/langchain4j/deployment/SupportLangchain4jProcessor.java      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/extensions-support/langchain4j/deployment/src/main/java/org/apache/camel/quarkus/component/support/langchain4j/deployment/SupportLangchain4jProcessor.java b/extensions-support/langchain4j/deployment/src/main/java/org/apache/camel/quarkus/component/support/langchain4j/deployment/SupportLangchain4jProcessor.java
index 4c92451dab..8d97bfef69 100644
--- a/extensions-support/langchain4j/deployment/src/main/java/org/apache/camel/quarkus/component/support/langchain4j/deployment/SupportLangchain4jProcessor.java
+++ b/extensions-support/langchain4j/deployment/src/main/java/org/apache/camel/quarkus/component/support/langchain4j/deployment/SupportLangchain4jProcessor.java
@@ -170,6 +170,7 @@ class SupportLangchain4jProcessor {
 
         // Register any types related to the AI service for reflection
         reflectiveClass.produce(ReflectiveClassBuildItem.builder(aiServiceTypes.toArray(new String[0]))
+                .fields()
                 .methods()
                 .build());