Aldon Utley created CAMEL-22332:
-----------------------------------

             Summary: Salesforce API Calls Hang During PushTopic Event 
Processing
                 Key: CAMEL-22332
                 URL: https://issues.apache.org/jira/browse/CAMEL-22332
             Project: Camel
          Issue Type: Bug
          Components: camel-core, camel-salesforce
    Affects Versions: 4.13.0
            Reporter: Aldon Utley
         Attachments: example.zip

I ran in to this issue when updating an app from Camel 2.X to 4.13.

The Salesforce calls work as expected unless they are invoked during the 
processing of a Salesforce PushTopic event, in which case, they hang 
indefinately.

In my example application, I've added the same Saleforce API calls to the 
afterApplicationStart() mehtod of the CamelContext and to a bean processing a 
PushTopic event.

Steps to reproduce:
    1. Select a Salesforce Account to use for testing.

    2. Update the id and email values in the CamelConfiguration class with 
values from the test Account.

    3. Start the application and observe that the initial Salesforce API calls 
to fetch account data succeed.

    4. Trigger a PushTopic event by modifying the name of your test Account in 
Salesforce.

    5. Observe that the application hangs when attempting to execute a 
Salesforce API call from within the PushTopic event listener.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to