Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11212

Don't allow Salesforce HTTP client to stop with outstanding requests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.19.0
    • camel-salesforce
    • None
    • Unknown

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              zregvart Zoran Regvart
              zregvart Zoran Regvart
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: