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 da6b251c87 Register additional JDK classes for serialization required 
by Nitrite
da6b251c87 is described below

commit da6b251c87103102d7ba2dedd202ddb06efe3abb
Author: James Netherton <[email protected]>
AuthorDate: Fri Jul 7 11:44:16 2023 +0100

    Register additional JDK classes for serialization required by Nitrite
    
    Fixes #5070
---
 .../quarkus/core/deployment/CamelSerializationProcessor.java      | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git 
a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelSerializationProcessor.java
 
b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelSerializationProcessor.java
index 117d116046..1a3fe429fe 100644
--- 
a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelSerializationProcessor.java
+++ 
b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelSerializationProcessor.java
@@ -25,6 +25,8 @@ import java.util.HashSet;
 import java.util.LinkedHashMap;
 import java.util.LinkedHashSet;
 import java.util.List;
+import java.util.concurrent.ConcurrentSkipListMap;
+import java.util.concurrent.ConcurrentSkipListSet;
 
 import io.quarkus.deployment.annotations.BuildProducer;
 import io.quarkus.deployment.annotations.BuildStep;
@@ -47,13 +49,17 @@ public class CamelSerializationProcessor {
             Byte.class.getName(),
             Character.class.getName(),
             Collections.EMPTY_LIST.getClass().getName(),
+            ConcurrentSkipListMap.class.getName(),
+            ConcurrentSkipListSet.class.getName(),
             Date.class.getName(),
             Double.class.getName(),
             Exception.class.getName(),
             Float.class.getName(),
             HashMap.class.getName(),
+            HashSet.class.getName(),
             Integer.class.getName(),
             LinkedHashMap.class.getName(),
+            LinkedHashSet.class.getName(),
             Long.class.getName(),
             Number.class.getName(),
             RuntimeException.class.getName(),
@@ -61,8 +67,6 @@ public class CamelSerializationProcessor {
             StackTraceElement[].class.getName(),
             String.class.getName(),
             Throwable.class.getName(),
-            HashSet.class.getName(),
-            LinkedHashSet.class.getName(),
 
             // Camel classes
             CamelExecutionException.class.getName(),

Reply via email to