On Wed, Aug 15, 2012 at 2:53 PM, Joe San <codeintheo...@gmail.com> wrote: > Camel Riders, > > I fail to fathom the fact that enrich works with a Producer EndPoint and > pollEnrich works with a Consumer EndPoint. Is there a design consideration > behind this mechanism? Can anyone please clarify why a pollEnrich should be > used with a Consumer EndPoint and not with a Producer EndPoint? Has it got > something to do with the Message type (request only or request / response)? >
Yes some components support both producers and consumers, and behave differently. For example file/ftp components. The producer will write a file, and the consumer read a file. Where as a http component may only support the producer, etc. > Regards, > Jothi -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen