camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sleepyjamie <>
Subject Filter using XPath hosted on remote http server?
Date Wed, 03 Mar 2010 13:05:54 GMT

I've been using camel and spring extensively since 1.5 and would like to know
if the <filter> supports retrieving XPath from a remove http server.

For example, a traditional xpath in camel would be as follows:

   <to uri="direct:passedFilter"/>

I would like to retrieve the XPath from a web server (the webserver would
return the Xpath as raw text):

   <xpath src=""/>
   <to uri="passedFilter"/>

Even a location on the hard drive would be suitable

   <xpath src="file://xpath.txt"/>
   <to uri="direct:passedFilter"/>

Currently In order to achieve the above I have to create a custom <bean/>
that retrieves the filter from the remote server and performs the filtering.
I see my customer filter <bean/> simply as another EIP which could be part
of camel's framework.
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message