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 2024/03/21 11:29:22 UTC
(camel) branch main updated: Update simple-language.adoc (#13522)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new b6c3a40d9db Update simple-language.adoc (#13522)
b6c3a40d9db is described below
commit b6c3a40d9db4dc32313cc9701e364218627c2df7
Author: Chirag <ch...@gmail.com>
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 acb01a71d40..514e33a5d42 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
@@ -576,6 +576,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