apupier commented on code in PR #8197:
URL: https://github.com/apache/camel-quarkus/pull/8197#discussion_r2717607835


##########
extensions/docling/deployment/src/main/java/org/apache/camel/quarkus/component/docling/deployment/DoclingProcessor.java:
##########
@@ -73,5 +74,7 @@ void registerForReflection(
         
reflectiveClass.produce(ReflectiveClassBuildItem.builder(doclingCoreBuilderClasses.toArray(new
 String[0]))
                 .methods(true)
                 .build());
+
+        
reflectiveClass.produce(ReflectiveClassBuildItem.builder(DocumentMetadata.class).constructors().methods(true).build());

Review Comment:
   I think it is because I request a DocumentMetadata.class as output type of 
the producerTemplate.requestBody 
https://github.com/apache/camel-quarkus/pull/8197/files#diff-d6794a6a6cc2c6724d73ed97f0f830c8f7527d08968a193abee6ed89042f7442R213
   
   so technically in the test but I think that if someone is trying to use 
DocumentMetdata directly they will have to register it.
   
   What do you think?
   



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