camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Adice for intermadiate calls.
Date Thu, 15 Mar 2012 12:35:13 GMT
On Thu, Mar 15, 2012 at 12:51 PM, lucide <> wrote:
> Hi,
> Kind of newbie question, i need an advice to use the best methodology for my
> scenario. I am using Camel 2.6.0 inside Servicemix 4.3.0.
> Briefly, consuming from cxf endpoint, i will send xml's to jbi endpoints,
> and using the responses from that jbi endpoints, I will enrich-modiy the
> initial exchange, and make one final request. It has to be sequential, the
> route may terminate/return back according the results of intermadiate calls.
> The first thing came to my mind is to create extra exchanges and
> producerTemplates inside processors to issue intermediate jbi calls, to
> preserve initial exchange.
> from(cxf:).processor().processor().to(cxf:)
> But I have read that using extra producerTemplates is discouraged. How can I
> use the same exchange more then once -not like split / multicast patterns, i
> need a sequential flow.

No this is fine to do. Just mind this FAQ

> What actually is the "camel" way of doing this:) ?

There is an EIP for this. The multicast EIP

Or you can tap the message using Wire Tap

> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message