camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilevina <>
Subject Re: How to use Camel Spring XML Extension to configure ContentFilter and MessageFilter EIP's
Date Mon, 14 Jul 2008 15:14:28 GMT

Hi James,

It is exactly what I was asking for, example on how to configure
ContentFilter in XML. Thanks.

However contains exactly
same configuration for ContentEnricher in XML. I understood differences in
ContentEnricher and ContentFilter, however both sample are ambiguous, if for
example I would like to use router.xml and map it to some GUI presentation
of ContentEnricher or ContentFilter. 

James.Strachan wrote:
> 2008/7/14 ilevina <>:
>> Hi William,
>> Thanks for pointing to additional examples with 'MessageFilter'
>> configuration. However my Q was not about using any particular expression
>> language with filter pattern, or using <filter> to configure
>> 'MessageFilter', there are seems plenty od examples in Camel docs.
>> Q was: if user can use 'Filter' processor(<filter>) to configure
>> ContentFilter pattern in XML? And if it is possible to use 'Filter'
>> processor configure both: MessageFilter or ContentFilter patterns in XML,
>> what will be a criteria to distinguish one configuration from another? It
>> seems that XML configuration is kind of ambiguous in such case?
> Just to check I understand what you're asking; <filter> in Camel
> refers to the Message Filter pattern....
> ContentFilter however is really a transformation...
> so you can create a content filter by just invoking a processor or a
> bean...
> <from uri="activemq:Input"/>
> <bean ref="myBeanName" method="doTransform"/>
> <to uri="activemq:Output"/>
> FWIW I just updated the wiki to be a bit clearer on this
> -- 
> James
> -------
> Open Source Integration

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message