aldettinger commented on a change in pull request #3020:
URL: https://github.com/apache/camel-quarkus/pull/3020#discussion_r692152773



##########
File path: 
extensions/xchange/deployment/src/main/java/org/apache/camel/quarkus/component/xchange/deployment/XchangeProcessor.java
##########
@@ -97,9 +97,9 @@ void 
registerForReflection(BuildProducer<ReflectiveClassBuildItem> reflectiveCla
         String[] dtoClasses = index.getKnownClasses()
                 .stream()
                 .map(classInfo -> classInfo.name().toString())
-                .filter(className -> 
className.startsWith("org.knowm.xchange.dto"))
+                .filter(className -> 
className.matches("^org\\.knowm\\.xchange.*dto.*"))

Review comment:
       I was thinking about being more restrictive like:
   .filter(className -> className.startsWith("org.knowm.xchange.dto"))
   .filter(className -> className.startsWith("org.knowm.xchange.kraken.dto"))
   But not sure it makes sense finally.




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