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

HttpConnectionManagerParams not working for HTTPS URL

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 2.17.3
    • Future
    • camel-http
    • 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? 
       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment