title: RestTemplate set timeout per request
body: <p>I have a <code>@Service</code> with several methods, each method consumes a different web api. Each call should have a custom read timeout. 
  Is it thread-safe to have one RestTemplate instance and change the timeout via the factory in each method like so</p>
  
  <pre><code>((HttpComponentsClientHttpRequestFactory)restTemplate.getRequestFactory())
  .setReadTimeout(customMillis);
  </code></pre>
  
  <p>My concern is that I'm changing the timeout on the factory and its not like a <code>RequestConfig</code>. Will this approach be thread-safe considering these methods might get called by multiple users at the same time? Or each method should have its own <code>RestTemplate</code>?</p>