Re: Set Header using xpath

2016-03-09 Thread krish_p
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.

Re: Set Header using xpath

2016-02-27 Thread Claus Ibsen
/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

Re: Set Header using xpath

2016-02-26 Thread krish_p
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.

Re: Set Header using xpath

2016-02-25 Thread Michael Jeppesen
; > 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. >

Set Header using xpath

2016-02-24 Thread krish_p
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