Re: pollEnrich using the incomming message excahnge

2014-09-06 Thread Claus Ibsen
On Wed, Sep 3, 2014 at 5:18 PM, Jon Mithe wrote: > Hello, > > I'm a bit confused / stuck with an enrichment problem. > > I have a message that I want to enrich using by making a request to an > external service using part of the information the original message has. > > As I unserstand Content Enr

Re: pollEnrich using the incomming message excahnge

2014-09-03 Thread Matt Sicker
The names of things in Camel sometimes don't match up perfectly with EIP. A processor would be your best bet here (or a bean for non-Camel API usage). On 3 September 2014 11:10, Elvio Caruana (ecaruana) wrote: > I think what you require is a content filter within the enrich step. > > enrich("di

RE: pollEnrich using the incomming message excahnge

2014-09-03 Thread Elvio Caruana (ecaruana)
I think what you require is a content filter within the enrich step. enrich("direct:enrichRoute", fooAggregator); from("direct:enrichRoute") .process("bodyFilter") // transforms the current body to what is required for the request .to("http://some-api-somewhere";); -Original Message-