Hi,

I am trying to use XPath, but somehow it is not responding the way it is
supposed to.

Example i have a xml input of type:-

<Products>
   <Product type="BOX">
   ..
   </Product>
</Products>

and I am trying spring dsl filter:-

<route>
  <from uri="file:///test/folder" />
  <filter>
     <xpath>/Products/Product[@type='BOX']</xpath>
     <to uri="file://test/matchedFile" />
  </filter>
</route>

with XML input i provided the filter should match Xpath predicate and should
move file to /test/mactchedFile folder. But this is not happening

Please help me to resolve this issue.

Regards,
Paramjyot

--
View this message in context: 
http://camel.465427.n5.nabble.com/XPath-Filter-not-working-tp5714310.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to