Hi James, It is exactly what I was asking for, example on how to configure ContentFilter in XML. Thanks.
However http://cwiki.apache.org/CAMEL/content-enricher.html 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 <[EMAIL PROTECTED]>: >> >> 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.... > http://activemq.apache.org/camel/message-filter.html > > ContentFilter however is really a transformation... > http://activemq.apache.org/camel/content-filter.html > > 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 > http://cwiki.apache.org/CAMEL/content-filter.html > -- > James > ------- > http://macstrac.blogspot.com/ > > Open Source Integration > http://open.iona.com > > -- View this message in context: http://www.nabble.com/How-to-use-Camel-Spring-XML-Extension-to-configure-ContentFilter-and-MessageFilter-EIP%27s-tp18405369s22882p18446064.html Sent from the Camel - Users mailing list archive at Nabble.com.
