This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.4.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.4.x by this push: new e310a05 CAMEL-15229: autoDiscoverObjectMapper option was not set when using camel-jackson. Thanks to Bogdan Ilchyshyn for reporting and test case. e310a05 is described below commit e310a0569be5c0cd3cb04a7133965c933c35e22c Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Jun 23 09:16:32 2020 +0200 CAMEL-15229: autoDiscoverObjectMapper option was not set when using camel-jackson. Thanks to Bogdan Ilchyshyn for reporting and test case. --- .../java/org/apache/camel/reifier/dataformat/JsonDataFormatReifier.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/camel-core-engine/src/main/java/org/apache/camel/reifier/dataformat/JsonDataFormatReifier.java b/core/camel-core-engine/src/main/java/org/apache/camel/reifier/dataformat/JsonDataFormatReifier.java index ba4c2d3..197e3d1 100644 --- a/core/camel-core-engine/src/main/java/org/apache/camel/reifier/dataformat/JsonDataFormatReifier.java +++ b/core/camel-core-engine/src/main/java/org/apache/camel/reifier/dataformat/JsonDataFormatReifier.java @@ -39,6 +39,7 @@ public class JsonDataFormatReifier extends DataFormatReifier<JsonDataFormat> { } else { properties.put("useDefaultObjectMapper", definition.getUseDefaultObjectMapper()); } + properties.put("autoDiscoverObjectMapper", definition.getAutoDiscoverObjectMapper()); } if (definition.getLibrary() != JsonLibrary.XStream) { if (definition.getUnmarshalType() != null) {