Camel Salesforce Connector does not reconnect after a period of innactivity with java.io.EOFException: HttpConnectionOverHTTP

Solution Verified - Updated -

Issue

  • Camel route using Salesforce connector for subscribing to events fails to reconnect after a period of inactivity.
  • Connection fails with the following log entry: WARN [org.apa.cam.com.sal.int.str.SubscriptionHelper] (Camel (camel-1) thread #812 - SalesforceHttpClient) Connect failure: {failure={exception=java.io.EOFException: HttpConnectionOverHTTP.
  • Recovery requires container restart.

Environment

  • Red Hat build of Apache Camel for Quarkus 3.8.0.GA

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content