camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Thullner" <rthull...@gmx.at>
Subject Correct syntax for xpath filter
Date Fri, 21 Dec 2007 13:57:54 GMT
Hi
 
I am trying to implement a XPath filter for my components. But I think the
syntax that is provided on the website is not corrent
from("direct:start").

filter().xpath("/person[@name='James']").

to("mock:result");
When I try to write that in my Java Routes the filter() method is awaiting a
parameter (Predicate, ExpressionType or String,String)
I am using ActiveMQ 5.0. Is there some new syntax for the MessageFilter
pattern?
Thanks for help
Robert
 
 
 
 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message