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

davsclaus pushed a commit to branch camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.x by this push:
     new f109168bcce Update simple-language.adoc (#13522)
f109168bcce is described below

commit f109168bccefe84f8bc9400e68279d711d8cc8af
Author: Chirag <[email protected]>
AuthorDate: Thu Mar 21 07:28:49 2024 -0400

    Update simple-language.adoc (#13522)
    
    Update simple-language.adoc, adding an example of a unary operator.
---
 .../src/main/docs/modules/languages/pages/simple-language.adoc         | 3 +++
 1 file changed, 3 insertions(+)

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 ddc313a6a88..6c8f0133d1c 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
@@ -518,6 +518,9 @@ simple("${header.bar} == 100")
 
 // 100 will be converter to the type of header.bar so we can do > comparison
 simple("${header.bar} > 100")
+
+// if value of header.bar was 100, value returned will be 101. header.bar 
itself will not be changed.
+simple("${header.bar}++")
 ----
 
 === Comparing with different types

Reply via email to