You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/05/25 09:25:06 UTC

[camel] branch header-language created (now cefcd62)

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

acosentino pushed a change to branch header-language
in repository https://gitbox.apache.org/repos/asf/camel.git.


      at cefcd62  Regen

This branch includes the following new commits:

     new db05075  Header Language snippet added back to docs
     new cefcd62  Regen

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[camel] 01/02: Header Language snippet added back to docs

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch header-language
in repository https://gitbox.apache.org/repos/asf/camel.git

commit db050757343b125c4be3e127627fd7507bd9a87a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue May 25 10:46:40 2021 +0200

    Header Language snippet added back to docs
---
 .../docs/modules/languages/pages/header-language.adoc   | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/core/camel-core-languages/src/main/docs/modules/languages/pages/header-language.adoc b/core/camel-core-languages/src/main/docs/modules/languages/pages/header-language.adoc
index 3688423..76e5e07 100644
--- a/core/camel-core-languages/src/main/docs/modules/languages/pages/header-language.adoc
+++ b/core/camel-core-languages/src/main/docs/modules/languages/pages/header-language.adoc
@@ -28,14 +28,31 @@ The Header language supports 1 options, which are listed below.
 
 == Example usage
 
+== Example usage
+
 The recipientList element of the Spring DSL can utilize a header
 expression like:
 
+[source,xml]
+----
+      <route>
+        <from uri="direct:a" />
+        <recipientList>
+          <header>myHeader</header>
+        </recipientList>
+      </route>
+----
+
 In this case, the list of recipients are contained in the header
 'myHeader'.
 
 And the same example in Java DSL:
 
+[source,java]
+----
+from("direct:a").recipientList(header("myHeader"));
+----
+
 And with a slightly different syntax where you use the builder to the
 fullest (i.e. avoid using parameters but using stacked operations,
 notice that header is not a parameter but a stacked method call)

[camel] 02/02: Regen

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch header-language
in repository https://gitbox.apache.org/repos/asf/camel.git

commit cefcd62d9b869edc775da045a6646511ebdf0fba
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue May 25 11:22:56 2021 +0200

    Regen
---
 .../org/apache/camel/catalog/docs/header-language.adoc  | 17 +++++++++++++++++
 .../modules/languages/pages/header-language.adoc        | 17 +++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/header-language.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/header-language.adoc
index 3688423..76e5e07 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/header-language.adoc
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/header-language.adoc
@@ -28,14 +28,31 @@ The Header language supports 1 options, which are listed below.
 
 == Example usage
 
+== Example usage
+
 The recipientList element of the Spring DSL can utilize a header
 expression like:
 
+[source,xml]
+----
+      <route>
+        <from uri="direct:a" />
+        <recipientList>
+          <header>myHeader</header>
+        </recipientList>
+      </route>
+----
+
 In this case, the list of recipients are contained in the header
 'myHeader'.
 
 And the same example in Java DSL:
 
+[source,java]
+----
+from("direct:a").recipientList(header("myHeader"));
+----
+
 And with a slightly different syntax where you use the builder to the
 fullest (i.e. avoid using parameters but using stacked operations,
 notice that header is not a parameter but a stacked method call)
diff --git a/docs/components/modules/languages/pages/header-language.adoc b/docs/components/modules/languages/pages/header-language.adoc
index 2d18e78..598d018 100644
--- a/docs/components/modules/languages/pages/header-language.adoc
+++ b/docs/components/modules/languages/pages/header-language.adoc
@@ -30,14 +30,31 @@ The Header language supports 1 options, which are listed below.
 
 == Example usage
 
+== Example usage
+
 The recipientList element of the Spring DSL can utilize a header
 expression like:
 
+[source,xml]
+----
+      <route>
+        <from uri="direct:a" />
+        <recipientList>
+          <header>myHeader</header>
+        </recipientList>
+      </route>
+----
+
 In this case, the list of recipients are contained in the header
 'myHeader'.
 
 And the same example in Java DSL:
 
+[source,java]
+----
+from("direct:a").recipientList(header("myHeader"));
+----
+
 And with a slightly different syntax where you use the builder to the
 fullest (i.e. avoid using parameters but using stacked operations,
 notice that header is not a parameter but a stacked method call)