camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raghuveer <>
Subject Re: Request to multiple routes
Date Wed, 30 Mar 2016 16:23:44 GMT


Initial received HTTP request is sent to bean1 and the request will be part
of exchange body. Post processing request in bean1 is it good practice to
set a new response object in exchange which can be passed as input to bean2
directly or post transformation? Or is it fine the initial request which is
sent to bean1 is processed and the response found post processing is set to
same request object and then send to bean2, with which we can have both the
request and processed response in same object which will be sent to bean2
and so on. In camel, can someone suggest is there any recommended approach
that need to be followed for the given scenario..?

Approach 1: Each Bean method has its own request and response

Approach 2: Use one object and traverse between different beans if it meets

Or any other suggested approach..?


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

View raw message