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 2020/09/08 07:06:20 UTC

[camel] branch master updated: Fixed incorrect simple doc thanks to Corneliu Chitic for reporting this.

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 995608b  Fixed incorrect simple doc thanks to Corneliu Chitic for reporting this.
995608b is described below

commit 995608befb851f722d38a21fb592f981d28158b7
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Sep 8 09:05:57 2020 +0200

    Fixed incorrect simple doc thanks to Corneliu Chitic for reporting this.
---
 .../src/main/docs/modules/languages/pages/simple-language.adoc | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/core/camel-core-languages/src/main/docs/modules/languages/pages/simple-language.adoc b/core/camel-core-languages/src/main/docs/modules/languages/pages/simple-language.adoc
index da68d02..120f923 100644
--- a/core/camel-core-languages/src/main/docs/modules/languages/pages/simple-language.adoc
+++ b/core/camel-core-languages/src/main/docs/modules/languages/pages/simple-language.adoc
@@ -669,16 +669,6 @@ And of course the `||` is also supported. The sample would be:
 simple("${in.header.title} contains 'Camel' || ${in.header.type'} == 'gold'")
 -----
 
-*Notice:* Currently `&&` or `||` can only be used *once* in a simple
-language expression. This might change in the future. +
- So you *cannot* do:
-
-[source,java]
------
-simple("${in.header.title} contains 'Camel' && ${in.header.type'} == 'gold' && ${in.header.number} range 100..200")
------
-
-
 == Samples
 
 In the Spring XML sample below we filter based on a header value: