I just did a fixe on CAMEL-807[1] which relates your issue.
Now we will put the response into the fault message if the response is not 200.
You can know it when you call the exchange.isfailed().

Please check out the latest snapshot and feel free to add your feed back.

[1]https://issues.apache.org/activemq/browse/CAMEL-807

Willem

harinair wrote:
Hi All:

When I was testing with Camel, I noticed that the HTTP producer sends
messages to HTTP call back services well but on a 404 or 401 it does not do
retries? Is that the same case for 500 "Server error" too? Is there any way
I can modify this so that it will retry again for all response code other
than 200 OK? In other words any response other than 200 should be an error.

All replies will be greatly appreciated.

Regards,
Hari Gangadharan

Reply via email to