On Mon, Aug 2, 2010 at 5:50 PM, GSegel <[email protected]> wrote:
>
> Claus- Thanks for taking the time to respond!
>
> I upgraded to 2.4 and my issue is resolved but just to follow-up, I tried
> your suggestion of using '.filter(xpath("/order[not(@test)]"))' but it still
> didn't work with 2.3.
>

In Camel 2.3 you need to static import that xpath method from
org.apache.camel.builder.xml.XPathBuilder
In Camel 2.4 xpath is provided out of the box in RouteBuilder class so
no need for the static import.



> I'm seeing that using Java to define the routes is limiting but the
> application we're creating allows on-the-fly route building/configuration
> so, maybe mistakenly, I saw this as the best approach.  The only alternative
> I see is to create the routes manually (building routes using
> RouteDefinition, ProcessorDefinition, etc).  Would love to hear any thoughts
> you may have on this...
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Help-with-filter-behavior-tp2256745p2261902.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to