camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Anstey <>
Subject Re: how to use xpath in spring xml and query header fields
Date Mon, 21 Jul 2008 14:30:31 GMT
buchnerm wrote:
> Sorry but none of your methods worked - any other suggestions? Links to
> tutorials? 
> greetings max


Did you take a look at the following test cases?

 From these it looks like this


is equivalent to

      <from uri="direct:start"/>
          <xpath>$foo = 'bar'</xpath>
          <to uri="mock:x"/>
          <xpath>$foo = 'cheese'</xpath>
          <to uri="mock:y"/>
          <to uri="mock:z"/>

and since this test case is passing, Camel seems to be picking out the 
headers properly and not the body. Would you mind creating a ticket here and attaching a test case 
so we can investigate this case further?


View raw message