davsclaus commented on code in PR #13725: URL: https://github.com/apache/camel/pull/13725#discussion_r1562603563
########## components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/streaming/SubscriptionHelper.java: ########## @@ -165,6 +165,7 @@ public void onMessage(ClientSessionChannel channel, Message message) { LOG.warn("Connect failure: {}", message); connectError = (String) message.get(ERROR_FIELD); connectException = getFailure(message); + client.disconnect(); Review Comment: Should this be in a try .. catch and ignore (I wonder if disconnect can throw an exception) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org