You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/10/07 03:43:14 UTC

[camel-karaf] branch camel-karaf-3.18.x updated: Fix default RestBindingMode json from json-jackson to jackson (changed in camel version 3.15) (#197)

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

davsclaus pushed a commit to branch camel-karaf-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git


The following commit(s) were added to refs/heads/camel-karaf-3.18.x by this push:
     new e6839b36 Fix default RestBindingMode json from json-jackson to jackson (changed in camel version 3.15) (#197)
e6839b36 is described below

commit e6839b36ce64c2ed6374f06d33838ef72e984cd4
Author: Tapio <ta...@helsinki.fi>
AuthorDate: Fri Oct 7 06:42:27 2022 +0300

    Fix default RestBindingMode json from json-jackson to jackson (changed in camel version 3.15) (#197)
---
 .../java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java b/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java
index 69f43657..587430d1 100644
--- a/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java
+++ b/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java
@@ -1164,7 +1164,7 @@ public class CamelNamespaceHandler implements NamespaceHandler {
                 if (json == null && mode != null) {
                     if (RestBindingMode.json.equals(mode) || RestBindingMode.json_xml.equals(mode)) {
                         // jackson is the default json data format
-                        json = "json-jackson";
+                        json = "jackson";
                     }
                 }
                 if (json != null) {