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:42:32 UTC

[camel-karaf] branch main 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 main
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git


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

commit b0b7d73c586c8594dbcb69e0170aea101a09c30b
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) {