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 2021/07/04 08:51:37 UTC

[camel-examples] branch main updated: CAMEL-16755: DataFormats to use unmarshalType instead of unmarshalTypeName

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-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 0d07b85  CAMEL-16755: DataFormats to use unmarshalType instead of unmarshalTypeName
0d07b85 is described below

commit 0d07b85b226b28adf70beb6ab6d43b9853ad3261
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sun Jul 4 10:51:23 2021 +0200

    CAMEL-16755: DataFormats to use unmarshalType instead of unmarshalTypeName
---
 .../src/main/resources/META-INF/spring/camel-context.xml                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/transformer-demo/src/main/resources/META-INF/spring/camel-context.xml b/examples/transformer-demo/src/main/resources/META-INF/spring/camel-context.xml
index dfd2dc4..2ec88a0 100644
--- a/examples/transformer-demo/src/main/resources/META-INF/spring/camel-context.xml
+++ b/examples/transformer-demo/src/main/resources/META-INF/spring/camel-context.xml
@@ -34,7 +34,7 @@
 
         <!-- START SNIPPET: e2 -->
         <camel:dataFormats>
-            <camel:json id="jsondf" library="Jackson" unmarshalTypeName="org.apache.camel.example.transformer.demo.Order"/>
+            <camel:json id="jsondf" library="Jackson" unmarshalType="org.apache.camel.example.transformer.demo.Order"/>
         </camel:dataFormats>
         <!-- END SNIPPET: e2 -->