Hi Claus,
My XML has a namespace without a prefix.
Is that causing the issue then?
--
View this message in context:
http://camel.465427.n5.nabble.com/Set-Header-using-xpath-tp5778202p5778761.html
Sent from the Camel - Users mailing list archive at Nabble.com.
/camel.465427.n5.nabble.com/Set-Header-using-xpath-tp5778202p5778344.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2
My XML does not have nay namespace !!
--
View this message in context:
http://camel.465427.n5.nabble.com/Set-Header-using-xpath-tp5778202p5778344.html
Sent from the Camel - Users mailing list archive at Nabble.com.
;
> eg:
>
> .setHeader("scheduleId").xpath("//Schedule/@scheduleId", String.class)
>
> please advice
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Set-Header-using-xpath-tp5778202.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
HI There,
I am trying to set a header value using xpath with no luck (Camel 2.16.2)
eg:
.setHeader("scheduleId").xpath("//Schedule/@scheduleId", String.class)
please advice
--
View this message in context:
http://camel.465427.n5.nabble.com/Set-Header-using-xpath-tp57