You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2025/08/12 17:22:00 UTC

[jira] [Commented] (CAMEL-22332) Salesforce API Calls Hang During PushTopic Event Processing

    [ https://issues.apache.org/jira/browse/CAMEL-22332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18013487#comment-18013487 ] 

Claus Ibsen commented on CAMEL-22332:
-------------------------------------

1. Can you try to remove all the headers before sending to salesforce again from the pushtopic event; as I wonder if there is some headers that cause trouble.

2. Try also to send via another thread such as using wiretap

> 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-salesforce
>    Affects Versions: 4.13.0
>            Reporter: Aldon Utley
>            Priority: Minor
>         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)