2 Replies Latest reply on Jun 24, 2009 11:56 AM by tfennelly

    Adding a "max-connections-per-host" to the HttpClientFactory

    tfennelly

      HttpClientFactory.createHttpClient creates a HttpConnectionManager instance and configures the "max-total-connections". This is somewhat irrelevant however as the HttpClient still has a default limit of 1 (or 2 - I forget) max connections per connected host, so will never use anything like the configured "max-total-connections".

      So it seems like we need to add support for a "max-connections-per-host" configuration. How should this work?

        • 1. Re: Adding a
          tfennelly

          See JBESB-2548.

          • 2. Re: Adding a
            tfennelly

            Added the "max-connections-per-host" configuration to the Connection Configurator. Didn't add any SOAPClient or HttpRouter specific settings. They can use "max-connections-per-host" also and we can add specific settings later if requested.