Hello,
I'm upgrading HTTP Client from 4.2 to 4.3.1, and one issue I'm encountering
is that I can't seem to find how to change some properties at runtime, like
this:
final ClientConnectionManager cm = _http.getConnectionManager();
if (cm instanceof PoolingHttpClientConnectionManager)
{
cm.setDefaultMaxPerRoute(networkPoolSize);
cm.setMaxTotal(networkPoolSize);
}
Would I be correct in assuming that I have to drop my instance of
CloseableHttpClient (shutdown and so on, hopefully without disrupting
service) and replace it with a new instance?
--
Christopher