On 18/09/10 07:19, Claus Ibsen wrote:
You have header
<header>$foo = 'true'</header>
But you should use xpath
<xpath>$foo = 'true'</xpath>
Sorry, I cut and pasted in the route that I attempted to
fix this problem.
My original was indeed <xpath>$foo = 'true'</xpath>
and that gave the error:
2010-09-18 01:59:36,205 | ERROR | Failed delivery for exchangeId:
> ID:vaio-51221-1284757417176-5:22:-1:1:1. Exhausted after delivery
attempt: 1
> caught: org.apache.camel.builder.xml.InvalidXPathExpression: Invalid
xpath:
> $foo = 'true'.
Has something changed between camel 2.0 & 2.4.0? Is that still
the proper way to match on headers (using xpath?). It doesn't
work for me anymore.
--
Illtud Daniel illtud.dan...@llgc.org.uk
Prif Swyddog Technoleg Chief Technical Officer
Llyfrgell Genedlaethol Cymru National Library of Wales