Hi,
You may consider to use the XPathBuilder to setup the expression for the
setHeader().
On 8/23/11 6:06 PM, heinrichheine wrote:
Your totally right,
but if i do it, i get:
"The method xpath(String) in the type BuilderSupport is not applicable for
the arguments (String, Class<String>, Namespaces)"
compile error.
--
View this message in context:
http://camel.465427.n5.nabble.com/setHeader-using-xpath-returns-Object-tp4726154p4726222.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang