This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 7d73cebea09c039bddf93910cd5666b106d5c160 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue May 25 10:44:22 2021 +0200 Regen docs --- .../modules/languages/pages/header-language.adoc | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/docs/components/modules/languages/pages/header-language.adoc b/docs/components/modules/languages/pages/header-language.adoc index 9e3fc4f..2d18e78 100644 --- a/docs/components/modules/languages/pages/header-language.adoc +++ b/docs/components/modules/languages/pages/header-language.adoc @@ -33,26 +33,11 @@ The Header language supports 1 options, which are listed below. 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)