You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Zoran Regvart (JIRA)" <ji...@apache.org> on 2017/04/27 12:34:05 UTC
[jira] [Created] (CAMEL-11212) Don't allow Salesforce HTTP client
to stop with outstanding requests
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)