Not sure I have that option, but thanks!

On Mon, Jun 20, 2011 at 8:14 AM, Moore, Jonathan (CIM)
<[email protected]> wrote:
> Ah, unfortunately, MultiThreadedHttpConnectionManager is from HttpClient
> 3.x, which is currently end-of-life (and I'm not familiar with that
> codebase). I'd suggest trying to upgrade to 4.x and using the
> ThreadSafeClientConnManager.
>
> Good luck,
> Jon
> ........
> Jon Moore
> Comcast Interactive Media
>
>
>
>
>
>
> On 6/18/11 7:35 PM, "ChadDavis" <[email protected]> wrote:
>
>>>
>>> The default max connections per host is 2 in httpclient, so that's
>>>almost
>>> certainly what you're running into (connection pool is too small). In
>>>this
>>> scenario you will want to increase both the max total connections and
>>>the
>>> max connections per route.
>>>
>>
>>The code I'm looking at uses the MultiThreadedHttpConnectionManager.
>>Unlike the ThreadSafeClientConnManager dicussed in your link, this
>>connection manager uses a param map for its configuration.  There are
>>no setter methods.  This is no problem because I can just get the map
>>and change the params myself.  However, I kind of expected that I
>>would be able to set some java properties to control this.  But when I
>>look into the HttpConnectionManagerParams class, and all of it's class
>>hierachy, it's unclear how to best control these parameter values.
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [email protected]
>>For additional commands, e-mail: [email protected]
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to