Hi Raymond,

For date:
<simple>${date:now:yyyy-MM-dd' à 'HH:mm:ss' ('yyy'.'D')'}</simple>


For addition 1 to value of Var1
<simple>${header.Var}++</simple>

Regards 

Daniel Langevin

-----Message d'origine-----
De : ski n <raymondmees...@gmail.com> 
Envoyé : 26 novembre 2021 07:18
À : users@camel.apache.org
Objet : Simple language

Hi all,

I have two questions regarding simple expressions:

1) Is it possible the get the time in miliseconds. Something like

${data:now.toMilli}

2) Is it possible to calculate with the simple language

${1 +1}

Kind regards,

Raymond

Reply via email to