camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rosmons <>
Subject Re: Http route returning with 200 but also getting read timed out
Date Thu, 17 Mar 2011 18:29:29 GMT

We have found that this issue can be fixed by making a change to the class.
The issue is that we're extracting the body after calling the

This means that if there's an exception while extracting the body the
original message will not get sent to the errorhandler/onException. Instead
a message with empty headers and body is sent.

I moved the "extractResponseBody(method, exchange)" to a line above
"exchange.getOut()" and am able to get the desired result.

You can see the attached diff file to see the change that we have made. 

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

View raw message