Mabrouk Belhout created CAMEL-12123:
---------------------------------------

             Summary: Http proxy support uses two incoherent methods and is 
broken
                 Key: CAMEL-12123
                 URL: https://issues.apache.org/jira/browse/CAMEL-12123
             Project: Camel
          Issue Type: Bug
          Components: camel-salesforce
    Affects Versions: 2.20.1
            Reporter: Mabrouk Belhout


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.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to