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

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: