Dear community, I've following snippet ..
<setBody><constant>[{"name":"Wonderland","surname":"Alice"}]</constant></setBody> <to uri="velocity:file:{{karaf.etc}}/file.vm?contentCache=true" /> The body comes from a jsonpath expression earlier. I've just stripped it to the essentials. Is it possible to access inside a Camel Velocity component template to the attribute values for name and surname? Many thanks for any response in advance. Best - Gerald