What is the default timeout value when using Spring's RestTemplate ?
For e.g., I am invoking a web service like this:
Is there any built-in timeout value for RestTemplate? I am not planning to change the timeout value, however, I want to ensure that there is a reasonable timeout for every request.Code:RestTemplate restTemplate = new RestTemplate(); String response = restTemplate.getForObject("http://webservice.com/item/3455", String.class);
Thanks.


Reply With Quote
