Hi,
i came accross two exceptions that are not handled by RestTemplate.
If there is a timeout waiting to read response after sending http request, i cannot catch it in my exception handler that is registered with RestTemplate via http gateway namespace.
The other type of exception is when you give a bogus url for http gateway, there is host not found exception thrown, which again is not caught by exception handler with RestTemplate.
I need to handle these two. How can i do that?
I am using commons http client for my http requests.
Thanks
sri