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


The following commit(s) were added to refs/heads/main by this push:
     new cf24460  Regen
cf24460 is described below

commit cf244604b8590908d4ae7273f60e310a8333f2bc
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Mon Aug 9 06:37:34 2021 +0200

    Regen
---
 .../resources/org/apache/camel/catalog/docs/asn1-dataformat.adoc      | 4 ++--
 docs/components/modules/dataformats/pages/asn1-dataformat.adoc        | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/asn1-dataformat.adoc
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/asn1-dataformat.adoc
index 1223c82..57e8ae1 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/asn1-dataformat.adoc
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/asn1-dataformat.adoc
@@ -43,7 +43,7 @@ In such example, note that you need to set 
`usingIterator=true`
 
 [source,java]
 -----------------------------------------------------------------------
-from("direct:unmarshal").unmarshal(asn1).split(body(Iterator.class)).streaming().to("mock:unmarshal");
+from("direct:unmarshal").unmarshal(asn1).split(bodyAs(Iterator.class)).streaming().to("mock:unmarshal");
 -----------------------------------------------------------------------
 
 In the last example we unmarshal BER file payload to plain old Java Objects 
using Split EIP. The reason for applying Split EIP is already mentioned in the 
previous example. Please note and keep in mind that reason. In such example we 
also need to set the fully qualified name of the class or <YourObject>.class 
reference through data format.
@@ -56,7 +56,7 @@ The nice thing about this example, you will get POJO instance 
at the mock endpoi
 from("direct:unmarshaldsl")
          .unmarshal()
          .asn1("org.apache.camel.dataformat.asn1.model.testsmscbercdr.SmsCdr")
-         .split(body(Iterator.class)).streaming()
+         .split(bodyAs(Iterator.class)).streaming()
 .to("mock:unmarshaldsl");
 -----------------------------------------------------------------------
 
diff --git a/docs/components/modules/dataformats/pages/asn1-dataformat.adoc 
b/docs/components/modules/dataformats/pages/asn1-dataformat.adoc
index 4c4cf83..5c26e2c 100644
--- a/docs/components/modules/dataformats/pages/asn1-dataformat.adoc
+++ b/docs/components/modules/dataformats/pages/asn1-dataformat.adoc
@@ -45,7 +45,7 @@ In such example, note that you need to set 
`usingIterator=true`
 
 [source,java]
 -----------------------------------------------------------------------
-from("direct:unmarshal").unmarshal(asn1).split(body(Iterator.class)).streaming().to("mock:unmarshal");
+from("direct:unmarshal").unmarshal(asn1).split(bodyAs(Iterator.class)).streaming().to("mock:unmarshal");
 -----------------------------------------------------------------------
 
 In the last example we unmarshal BER file payload to plain old Java Objects 
using Split EIP. The reason for applying Split EIP is already mentioned in the 
previous example. Please note and keep in mind that reason. In such example we 
also need to set the fully qualified name of the class or <YourObject>.class 
reference through data format.
@@ -58,7 +58,7 @@ The nice thing about this example, you will get POJO instance 
at the mock endpoi
 from("direct:unmarshaldsl")
          .unmarshal()
          .asn1("org.apache.camel.dataformat.asn1.model.testsmscbercdr.SmsCdr")
-         .split(body(Iterator.class)).streaming()
+         .split(bodyAs(Iterator.class)).streaming()
 .to("mock:unmarshaldsl");
 -----------------------------------------------------------------------
 

Reply via email to