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)

Reply via email to