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


The following commit(s) were added to refs/heads/main by this push:
     new 7048ba7  Fix example
7048ba7 is described below

commit 7048ba7566af14bee94cd864fdf8eb00818b8f23
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Mon Oct 2 16:44:16 2023 +0200

    Fix example
---
 .../src/main/resources/OSGI-INF/blueprint/odata.xml                   | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 
a/examples/camel-example-olingo4-blueprint/src/main/resources/OSGI-INF/blueprint/odata.xml
 
b/examples/camel-example-olingo4-blueprint/src/main/resources/OSGI-INF/blueprint/odata.xml
index 80f25a4..e4f7d1a 100644
--- 
a/examples/camel-example-olingo4-blueprint/src/main/resources/OSGI-INF/blueprint/odata.xml
+++ 
b/examples/camel-example-olingo4-blueprint/src/main/resources/OSGI-INF/blueprint/odata.xml
@@ -36,9 +36,7 @@
       <log message="Receiving file ${file:name}" />
       <log message="Sending file ${file:name} to OData Test Service" />
 
-      <unmarshal>
-        <string charset="UTF-8"/>
-      </unmarshal>
+      <convertBodyTo type="String"/>
 
       <to uri="odata4://create/People"/>
 

Reply via email to