<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<div class="moz-cite-prefix">On 11/18/19 4:22 PM, Cantor, Scott
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:81ED4B6C-C662-4281-9318-4894257AB3F2@osu.edu">
<pre class="moz-quote-pre" wrap="">On 11/18/19, 4:12 PM, "dev on behalf of Jim Fox" <a class="moz-txt-link-rfc2396E" href="mailto:dev-bounces@shibboleth.netonbehalfoffox@washington.edu"><dev-bounces@shibboleth.net on behalf of fox@washington.edu></a> wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">If there is a PoolingHttpClientConnectionManager somewhere on that plate of spaghetti, how do I control the min
and max connection limits?
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
If there are settings other than maxConnectionsTotal and maxConnectionsPerRoute they're probably not exposed. The builder is there to make Spring config more friendly but it's got a lot of known gaps. But those two are definitely there.
</pre>
</blockquote>
<p>Right, our client builder seeks to must make it Spring-friendly
for the most common options.</p>
<p>Our builder wraps an instance of the Apache builder. There's a
no-arg ctor of our builder which gives you a default Apache one,
but there's also one which allows injection of a custom-configured
one:</p>
<p><tt> public HttpClientBuilder(@Nonnull final
org.apache.http.impl.client.HttpClientBuilder builder) { ... }</tt></p>
<p>So using that variant, you could wire up literally anything that
is possible via the Apache builder.<br>
</p>
</body>
</html>