Hi,
I want to have some math operation in route loop based on the index:
.loop(5)
.log(String.valueOf(Integer.parseInt("${property.CamelLoopIndex}")*10+1));
But I got error:
error=For input string: "${property.CamelLoopIndex}"}
If I change it to a constant string, it works. (e.g. "1").
I also t
Hi Weiqiang,
the simple language can not do what you want, you can look at the
supported operations in the docs[1].
A best practice would be to create a standard Java method to perform
that and use the `method` DSL and set a header value, you can use also
dynamic expressions in Groovy or some othe
Thank you Zoran
On Sun, Apr 22, 2018, 5:30 AM Zoran Regvart wrote:
> Hi Weiqiang,
> the simple language can not do what you want, you can look at the
> supported operations in the docs[1].
>
> A best practice would be to create a standard Java method to perform
> that and use the `method` DSL an