Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
2.17.3
-
None
-
Unknown
Description
We use Apache Camel's camel-http component to integrate with HTTP & HTTPS endpoints, HttpConnectionManagerParams is used to configure defaultconnectionsPerHost and maxTotalConnections.
<bean class="org.apache.commons.httpclient.params.HttpConnectionManagerParams" id="MyHttpConnectionManagerParams"> <property name="defaultMaxConnectionsPerHost" value="20"/> <property name="maxTotalConnections" value="200"/> </bean>
Above parameters takes effect only if the endpoint URL is over HTTP, same configuration becomes void and default HttpConnectionManager takes effect when endpoint is over HTTPS.
With default HttpConnectionManager, connections are limited to 2 per host and all user requests gets queued up and response time increased exponentially.
Is there something to be additionally configured for HTTPS url?