This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 1e6351e Regen 1e6351e is described below commit 1e6351ecfa2f4996eaef47d47797540f0f3b7157 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed Jul 17 09:11:37 2019 +0200 Regen --- docs/components/modules/ROOT/pages/spel-language.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/spel-language.adoc b/docs/components/modules/ROOT/pages/spel-language.adoc index a966c12..f8f2a22 100644 --- a/docs/components/modules/ROOT/pages/spel-language.adoc +++ b/docs/components/modules/ROOT/pages/spel-language.adoc @@ -124,7 +124,7 @@ Filter]: <route> <from uri="direct:foo"/> <filter> - <spel>#{request.headers['foo'] == 'bar'}</spel> + <spel>#{request.headers.foo == 'bar'}</spel> <to uri="direct:bar"/> </filter> </route> @@ -135,7 +135,7 @@ And the equivalent in Java DSL: [source,java] ---- from("direct:foo") - .filter().spel("#{request.headers['foo'] == 'bar'}") + .filter().spel("#{request.headers.foo == 'bar'}") .to("direct:bar"); ----