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 a706344607ec camel-core - simple languge improve docs
a706344607ec is described below

commit a706344607ec38fdaf91550dcea5dc8dbb9d8b4c
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Jan 26 20:18:20 2026 +0100

    camel-core - simple languge improve docs
---
 .../src/main/docs/modules/languages/pages/simple-language.adoc    | 8 ++++++++
 1 file changed, 8 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 4f1eb6113473..7a005308126f 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
@@ -676,6 +676,14 @@ This requires having `camel-base64` JAR on the classpath.
 |`base64Encode(exp)` | `String` |Base64 encodes the expression
 |====
 
+Camel comes with functions to use `camel-base64` JAR for base64 encoding and 
decoding.
+
+For example `${base64Encode(Camel)}` returns `Q2FtZWw=` and you can reverse
+this by `${base64Decode(Q2FtZWw=)}` which then returns `Camel`.
+
+If you want to encode the message body then use `${base64Encode()}`, but you 
can also
+provide a nested function such as `${base64Encode(${header.myKey})}` to encode 
a header.
+
 
 == Built-in Symbols
 

Reply via email to