2008/7/14 ilevina <[EMAIL PROTECTED]>: > > 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.
There are a number of EIP patterns which are kinda the same; if you were using a Content Filter, Message Translator or Content Enricher - they all do the same thing; transform the payload. In some UI representation when folks invoke a Processor or bean they should be able to choose the gregorgram they prefer; though from the underlying Camel EIP route; they are all transformers really (either <processor> or <bean/>). i.e. invoking a bean or processor or expression (via <transform>) should all the Message Translator gregorgrams by default - unless the user chooses to change the icon -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com
