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

[camel] branch main updated: Fix typo in camel-tarfile and camel-zipfile docs

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

aldettinger pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 49b7083  Fix typo in camel-tarfile and camel-zipfile docs
49b7083 is described below

commit 49b7083908f6f391df3eeaa4402c7e2aa7530ad9
Author: aldettinger <al...@gmail.com>
AuthorDate: Thu Mar 10 16:09:17 2022 +0100

    Fix typo in camel-tarfile and camel-zipfile docs
---
 components/camel-tarfile/src/main/docs/tarFile-dataformat.adoc | 2 +-
 components/camel-zipfile/src/main/docs/zipFile-dataformat.adoc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-tarfile/src/main/docs/tarFile-dataformat.adoc b/components/camel-tarfile/src/main/docs/tarFile-dataformat.adoc
index 73d90b8..2ea3856 100644
--- a/components/camel-tarfile/src/main/docs/tarFile-dataformat.adoc
+++ b/components/camel-tarfile/src/main/docs/tarFile-dataformat.adoc
@@ -88,7 +88,7 @@ work.
   tarFile.setUsingIterator(true);
   from("file:src/test/resources/org/apache/camel/dataformat/tarfile/?delay=1000&noop=true")
     .unmarshal(tarFile)
-    .split(body(Iterator.class))
+    .split(bodyAs(Iterator.class))
         .streaming()
           .process(new UnTarpedMessageProcessor())
     .end();
diff --git a/components/camel-zipfile/src/main/docs/zipFile-dataformat.adoc b/components/camel-zipfile/src/main/docs/zipFile-dataformat.adoc
index bf49a7b..534328e 100644
--- a/components/camel-zipfile/src/main/docs/zipFile-dataformat.adoc
+++ b/components/camel-zipfile/src/main/docs/zipFile-dataformat.adoc
@@ -94,7 +94,7 @@ zipFile.setUsingIterator(true);
 
 from("file:src/test/resources/org/apache/camel/dataformat/zipfile/?delay=1000&noop=true")
     .unmarshal(zipFile)
-    .split(body(Iterator.class)).streaming()
+    .split(bodyAs(Iterator.class)).streaming()
         .process(new UnZippedMessageProcessor())
     .end();
 ----