You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jesse Sightler (Jira)" <ji...@apache.org> on 2021/11/11 21:44:00 UTC

[jira] [Created] (CAMEL-17189) camel-salesforce forcably overrides the httpclient from SalesforceEndpointConfig

Jesse Sightler created CAMEL-17189:
--------------------------------------

             Summary: camel-salesforce forcably overrides the httpclient from SalesforceEndpointConfig
                 Key: CAMEL-17189
                 URL: https://issues.apache.org/jira/browse/CAMEL-17189
             Project: Camel
          Issue Type: Bug
          Components: camel-salesforce
            Reporter: Jesse Sightler


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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)