camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: enrich and pollEnrich
Date Wed, 15 Aug 2012 13:00:29 GMT
On Wed, Aug 15, 2012 at 2:53 PM, Joe San <> 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
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
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message