[
https://issues.apache.org/jira/browse/CAMEL-17189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-17189:
--------------------------------
Fix Version/s: 3.x
> 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
> Priority: Minor
> Fix For: 3.x
>
>
> 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)