-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Camel-20918: fix exception handling for Salesforce Streaming API #14778
Conversation
- execute subscriptionListener in a separate thread similarly to handshakeListener and connectListener, - fix SubscriptionHelper#listenerMap remaining empty when an exception occurs while subscribing to a channel, - remove SubscriptionHelper#handshake as there is always a thread hanging in this method as per https://issues.apache.org/jira/browse/CAMEL-20388, - remove the call to closeChannel for topic listeners as they will be removed on SubscriptionHelper#unsubscribe
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🤖 CI automation will test this PR automatically. 🐫 Apache Camel Committers, please review the following items:
|
@jeremyross if you have a chance to take a quick look at this PR then that is appreciated |
...ava/org/apache/camel/component/salesforce/internal/streaming/SubscriptionHelperManualIT.java
Show resolved
Hide resolved
I am evaluating camel for Salesforce Platform event, I have also noticed the issue. I tested it on my machine and this pull request seems fixed the issue, this is the log I got
|
/component-tests salesforce Result ❌ The tests failed please check the logs |
🤖 The Apache Camel test robot will run the tests for you 👍 |
CAMEL-20918: fix exception handling for Salesforce Streaming API: