camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Filter using XPath hosted on remote http server?
Date Wed, 03 Mar 2010 18:56:59 GMT

I think this is a very rare use case, and I dont think we should add
something to camel-core. There is already a lot of stuff there

And most people would probably not like to call a remote server to get
a simple xpath expression. And on sub sequent calls you may wont to
have it cached etc. Then it all just get more complex.

On Wed, Mar 3, 2010 at 3:12 PM, sleepyjamie <> wrote:
> As I mentioned I am currently using a <bean/> to do the work, however this
> requires creating a bean for every filter, which can be annoying.
> eg,
> <bean id="filter1" class="...">
>   <property name="location" value="http://somewebsite/xpath1.txt"/>
> </bean>
> <bean id="filter2" class="...">
>   <property name="location" value="http://anotherwebsite/xpath2.txt"/>
> </bean>
> Thus, it would be more ideal for camel to handle this job. I understand the
> result when fetching the xpath could be anything. Perhaps the result should
> be XML defined by a Schema which is part of the camel framework.
> for example the xml could look like
> <CamelXPath>
>   <![CDATA[
>      /Xpath/query/goes/here
>   ]]>
> </CamelXPath>
> Just a thought
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Apache Camel Committer

Author of Camel in Action:
Open Source Integration:

View raw message