On Tue, Aug 23, 2011 at 12:06 PM, heinrichheine
<[email protected]> 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)"
>
The xpath should have methods to set the namespace, result type etc.
So something along the lines of:
.setHeader("xxx", xpath("xxx").resultType(String.class).namespace(ns))
> 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.
>
--
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/