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

camel-salesforce forcably overrides the httpclient from SalesforceEndpointConfig

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.14.0
    • camel-salesforce
    • None
    • Novice

    Description

      The comment here seems to imply that there should be a way to manually create an HttpClient in SalesforceEndpointConfig: https://github.com/apache/camel/blob/main/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponent.java#L452

       

      However, in reality, the doStart method always overrides the value provided by the configuration without first checking whether or not the config already has an HttpClient configured.

       

      This seems to be a bug.

      Attachments

        Activity

          People

            jeremyross Jeremy Ross
            jsight Jesse Sightler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: