Opened this issue https://issues.apache.org/activemq/browse/CAMEL-209

Nicky Sandhu wrote:
> 
> 
> 
> RomKal wrote:
>> 
>> 
>> I know that I can do it using custom processor, but maybe there is
>> some Expression instance that evaluates to result of endpoint
>> invocation? this way I can simply use setBody() or setHeader() methods
>> with such Expression.
>> 
> 
>  Thats a good idea. I have needed this myself. Its along the lines of 
> http://www.enterpriseintegrationpatterns.com/DataEnricher.html
> ContentEnricher  . 
> 
> One way to do this would be to define ContentEnricherProcessor and the
> Resource would be replaced by an invocation of any Processor. The original
> message (before enrichment) could be saved of in either a header or could
> be appended with the new message (after enrichment) with the out response
> of the processor. 
> 
> Looks like a JIRA issue is needed to track this
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-enrich-message-with-the-result-of-other-invocation-tf4714129s22882.html#a13592420
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to