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/28 16:02:04 UTC

[jira] [Resolved] (CAMEL-11212) Don't allow Salesforce HTTP client to stop with outstanding requests

     [ https://issues.apache.org/jira/browse/CAMEL-11212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zoran Regvart resolved CAMEL-11212.
-----------------------------------
    Resolution: Fixed

> 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.19.0
>
>
> 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)