On Wed, Aug 29, 2012 at 6:17 PM, Claus Ibsen <claus.ib...@gmail.com> wrote:
> On Wed, Aug 29, 2012 at 2:10 PM, Alexey <reshe...@gmail.com> wrote:
>> Sorry, I moved the discussion to another topic.
>> You don't quite understand me. My xpath expression is correct. I tested this
>> xpath expr. with my xml using online xpath selector, it's work normal. The
>> problem is that xpath must select from my header, but not in the body.
>>
>> For example that expression work incorrect:
>> <xpath>in:header('history')/history/p[@id = 'RESTSYBRIGE' and @state !=
>> 'NN']</xpath>
>>
>> message not move to queue RESTRUCT.DECLINE
>>
>> How to make so that the XPath searching in the header?
>>
>
> xpath works on message body only.
>

I logged a JIRA to improve this in the future
https://issues.apache.org/jira/browse/CAMEL-5550


>
>>
>>
>> --
>> View this message in context: 
>> http://camel.465427.n5.nabble.com/xpath-for-header-tp5718190p5718251.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: cib...@fusesource.com
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to