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

camel-salesforce - Http proxy support uses two inconsistent methods and is broken

    XMLWordPrintableJSON

    Details

    • Estimated Complexity:
      Unknown
    • Regression:
      Regression

      Description

      in the SalesforceComponent class, there is two ways to configure a http proxy :

      • using setHttpProxyHost method and others alike
      • using httpClientProperties map with proxy keys (HTTP_PROXY_HOST and others ...)

      but instance variables set by setHttpProxyXXX methods are not used and should be considered as dead code.
      one can have a look at the setupHttpClient() method to figure out that the proxy variables are not used, but only the properties map is.

      This bug was discovered while proceeding to an upgrade from 2.19.x to 2.20.1.

        Attachments

          Activity

            People

            • Assignee:
              zregvart Zoran Regvart
              Reporter:
              mabroukb Mabrouk Belhout
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: