[
https://issues.apache.org/jira/browse/CONNECTORS-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13958403#comment-13958403
]
Ahmet Arslan commented on CONNECTORS-915:
-----------------------------------------
When we switch from ThreadSafeClientConnManager to
PoolingHttpClientConnectionManager, how do we use poolSize? There is no
setMaxTotal and setDefaultMaxPerRoute methods in
PoolingHttpClientConnectionManager.
{code}
// old stuff
httpConnectionManager = new ThreadSafeClientConnManager();
httpConnectionManager.setMaxTotal(poolSize);
httpConnectionManager.setDefaultMaxPerRoute(poolSize);
{code}
{code}
// new stuff
httpConnectionManager = new PoolingHttpClientConnectionManager();
{code}
> Remove HttpClient 4.3 deprecation warnings from Apache Solr 4.x Plugin
> ----------------------------------------------------------------------
>
> Key: CONNECTORS-915
> URL: https://issues.apache.org/jira/browse/CONNECTORS-915
> Project: ManifoldCF
> Issue Type: Task
> Components: Solr-4.x-component
> Affects Versions: ManifoldCF 1.5.1
> Reporter: Ahmet Arslan
> Priority: Minor
> Fix For: ManifoldCF 1.7
>
> Attachments: CONNECTORS-915.patch
>
>
> Solr 4.7.0 uses HttpClient 4.3.1 which deprecates pretty much the entire way
> you used to build httpclient instances. Lets use new API for
> integration/solr-4.x/trunk
--
This message was sent by Atlassian JIRA
(v6.2#6252)