Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-5335

Apache HTTP Client does not use system properties in Camunda HTTP Connector

XMLWordPrintable

      The Apache HTTP Client used by Camunda HTTP Connector has the option to read some configuration properties from the system properties of the JVM. Currently the HTTP Connector created by the Camunda HTTP Connector does not enable this option.

      AbstractHttpConnector#L50:

      protected CloseableHttpClient createClient() {
        return HttpClients.createDefault();
      }
      

      The following would create the a Client with the system properties option enabled

      protected CloseableHttpClient createClient() {
        return HttpClients.createSystem();
      }
      

      Question: Should the default behavior changed or should this be configurable for example through the connector process engine plugin.

        This is the controller panel for Smart Panels app

              sebastian.menski Sebastian Menski
              sebastian.menski Sebastian Menski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: