The easiest way is to set it in a header like .setHeader(“NODE”,constant(“A”) )
when processing in each A or B. Get the header value when you want to find out
which node processed the message.



On Wed, Feb 24, 2016 at 1:30 PM, mnl < mnlgoya...@gmail.com > wrote:
One more thing:

Let's say I have C endpoint which will send to B and might failover to A in
case of exception on B. Now I want to know whether it was A or B which
successfully completed the request. How can I know that? This is required to
process the message which A or B might send back to C.



--
View this message in context: http://camel.465427.n5.nabble. 
com/Switch-to-route-in-case-
original-route-fails- tp5777511p5778162.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to