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

Salesforce: when dynamic producer is used, response is received when producer is stopped

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Abandoned
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: camel-salesforce
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      For example we have route:

      from(direct:processSf)

      .process(new SomeProcessor())

      .toD(sfEndpointName + ":createSObject?sObjectName=AgentWork")

      .process(new ResponseProcessor())

       

      where sfEndpointName is like "salesforce-${header[HeaderConstants.SF_ENDPOINT]}-rest" - dynamic name for different SF components

      HeaderConstants.SF_ENDPOINT is set in SomeProcessor, for example.

       

      then response from SF is received when SF producer is stopped. In my case it takes 10 seconds to get event in ResponseProcessor

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              atyurin Andrey Tyurin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: