Zoran Regvart created CAMEL-11212:
-------------------------------------

             Summary: Don't allow Salesforce HTTP client to stop with 
outstanding requests
                 Key: CAMEL-11212
                 URL: https://issues.apache.org/jira/browse/CAMEL-11212
             Project: Camel
          Issue Type: Bug
          Components: camel-salesforce
            Reporter: Zoran Regvart
            Assignee: Zoran Regvart
             Fix For: 2.20.0, 2.19.1


The Salesforce component uses Jetty asynchronous client throughout. There is a 
race condition that might occur if the component's HTTP client is stopped while 
one or more requests are still in progress. The result of which could be 
inconsistencies in execution.
This was seen in the implementation of the connectivity validation in the ping 
check which creates the {{SalesforceHttpClient}} and {{DefaultRestClient}} and 
starts/stops then in a small time frame.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to