Hi Irene,

This wiki page http://activemq.apache.org/camel/xpath.html contains
some examples to show how to use XPath to filter messages based on
content.  There are other supported languages as well
http://activemq.apache.org/camel/languages.html.

Cheers,
William


On Fri, Jul 11, 2008 at 10:37 AM, ilevina <[EMAIL PROTECTED]> wrote:
>
> According online documentation MessageFilter route can be configured using
> Camel Spring XML Extensions as follows:
>
> <camelContext id="camel"
> xmlns="http://activemq.apache.org/camel/schema/spring";>
>  <route>
>    <from uri="seda:a"/>
>    <filter>
>      <xpath>$foo = 'bar'</xpath>
>      <to uri="seda:b"/>
>    </filter>
>  </route>
> </camelContext>
>
> Can <filter> be used to configure ContentFilter route (using Spring XML
> Extensions) ?
> Could you please provide example for ContentFilter?
> What criteria is used to distinguish ContentFilter from MessageFilter when
> they are configured with <filter> type?
>
> --
> View this message in context: 
> http://www.nabble.com/How-to-use-Camel-Spring-XML-Extension-to-configure-ContentFilter-and-MessageFilter-EIP%27s-tp18405369s22882p18405369.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>

Reply via email to