Hello!
what is the correct way to set dynamic header values? I often need to set
value concatenated form a prefix and xpath result. But it seems not work;
setHeader("ISBN", getMyGetter() + ns.xpath("c:book/isbn", String.class))
So as workaround I do>
.setHeader("ISBNValue", ns.xpath("c:book/isbn", String.class))
.setHeader("ISBN", simple(String.format("%s${header.ISBNValue}",
getMyGetter())))
Thanks!
--
View this message in context:
http://camel.465427.n5.nabble.com/how-set-dynamic-header-values-tp5749563.html
Sent from the Camel - Users mailing list archive at Nabble.com.