> .setHeader("size",simple("${body.length}"))
>
> With below router, i am able to store the length of array in size.
> But how we can get the element from the array.
${body.length} reflects the length field of the Array.
So I would try ${body[0]} ...
Or transform it to a list, then simple-language is more powerful.
https://camel.apache.org/simple.html
Jan
