Idiomatic way to consume from an endpoint in Apache Camel for the response to an endpoint?

You don't want to just do from A to B from B to C So that a message send to A will be send to B. And B is processed in another route, and the response from this will be send back to the first route, which will be used as reply to any client invoking A in the first place. Also if you want something with dynamic endpoints, then you can use the Recipient List EIP pattern camel.apache.org/recipient-list.html.

In the example above the request body is irrelevant as the thing of interest is the reply. Where I mentioned the REST interface to a queue example it would be a web endpoint that when hit with a browser would consume the result from the queue endpoint and then return that to the browser. – Sean Parsons Dec 19 '10 at 11:20 Ah you may want to look at the Content Enricher EIP pattern.

Camel has pollEnrich you can use to consume from a queue and "merge" the data – Claus Ibsen Dec 20 '10 at 7:22.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions