camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Help with filter behavior
Date Mon, 02 Aug 2010 15:54:29 GMT
On Mon, Aug 2, 2010 at 5:50 PM, GSegel <gsegelken@itsfac.com> 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

Mime
View raw message