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

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

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

Details

    • Unknown
    • 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

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment