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/03/10 16:36:53 UTC
[camel] branch camel-3.14.x updated: Fix typo in camel-tarfile and camel-zipfile docs
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-3.14.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.14.x by this push:
new ee8248d Fix typo in camel-tarfile and camel-zipfile docs
ee8248d is described below
commit ee8248d73d7601d2164974c67bf26ac6d6162d88
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 0db5a65..eb0d5ed 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 6907f99..2568b14 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();
----