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


##########
extensions/azure-storage-datalake/deployment/src/main/java/org/apache/camel/quarkus/component/azure/storage/datalake/deployment/AzureStorageDatalakeProcessor.java:
##########
@@ -54,10 +55,20 @@ ExtensionSslNativeSupportBuildItem 
activateSslNativeSupport() {
     ReflectiveClassBuildItem registerForReflection(CombinedIndexBuildItem 
combinedIndex) {
         IndexView index = combinedIndex.getIndex();
 
-        List<String> dtos = new LinkedList<>(index.getKnownClasses().stream()
+        LinkedHashSet<String> dtos = new 
LinkedHashSet<>(index.getKnownClasses().stream()
                 .map(ci -> ci.name().toString())
                 .filter(n -> 
n.startsWith("com.azure.storage.file.datalake.implementation.models"))
-                .collect(Collectors.toList()));
+                .toList());
+
+        
dtos.addAll(index.getAllKnownImplementations(HttpResponseException.class).stream()
+                .map(ci -> ci.name().toString())
+                .toList());
+        
dtos.addAll(index.getAllKnownImplementations(JsonSerializable.class).stream()
+                .map(ci -> ci.name().toString())
+                .toList());
+        
dtos.addAll(index.getAllKnownImplementations(XmlSerializable.class).stream()
+                .map(ci -> ci.name().toString())
+                .toList());

Review Comment:
   That sounds right, thanks for the hint



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