On Wed, Feb 27, 2013 at 11:07 PM, kingolego <j...@sovereignsense.com> wrote: > The EIP Content Enricher page > <http://http://camel.apache.org/content-enricher.html> has an example > implementation of an AggregationStrategy for use with an enrich(er). > > I believe the example's use of resource.getOut() may be incorrect. In actual > use, the enricher (resource) Exchange has been "pipelined" like any other > exchange. In other words, you need to access resource.getIn() to access the > enriching data. > > Perhaps there are route configurations where this would not be the case, but > it would be better if the example addressed the more general case. > > If I'm missing something bigger, let me know. >
Yes this is wrong. I have fixed the docs. > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-content-enricher-Aggregtation-Strategy-example-error-tp5728254.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen