|
thanks a lot, I don't know how I missed that... regards rafal On 21.02.2012 13:42, Reuben Garrett wrote: Rafal, this sounds like the Content Enricher pattern to me: http://camel.apache.org/content-enricher.htmla bean or inlined fluent processor is probably a good solution - you seem to be on the right track ~ RNPG On Feb 21, 2012, at 6:32, Rafal Janik <[email protected]> wrote:Hi! I'm looking for the best pattern to call another service for part of the data in one route. In my case there is a message for example: < a > < b > c < /b > < /a > I want to send it from service X to Y but between the consumer and provider I want to call service Z with c parameter to get some information and replace the c value with the service Z response. One solution I can come up is to put a new bean inside a route with setter and getter for a message, to store the message there, then send just c to service Z, and then merge the result from Z and from my bean getter and at least send it to the service Y. But probably there there is a better pattern for that, isn't it? regards rafal --
| ||||||||
Title: This email may contain confident
- how call another service for part of the message in one rou... Rafal Janik
- Re: how call another service for part of the message i... Reuben Garrett
- Re: how call another service for part of the messa... Rafal Janik
