Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13325

HttpConnectionManagerParams not working for HTTPS URL

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.17.3
    • Fix Version/s: Future
    • Component/s: camel-http
    • Labels:
      None
    • Estimated Complexity:
      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? 
       

        Attachments

        1. camel-http-client.zip
          9 kB
          Arthanarisamy Annamalai

          Activity

            People

            • Assignee:
              dmvolod Dmitry Volodin
              Reporter:
              saran.shajan@gmail.com Arthanarisamy Annamalai
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: