You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Romain (Jira)" <ji...@apache.org> on 2025/06/05 09:07:00 UTC

[jira] [Created] (CAMEL-22146) camel-pgevent - Does not reconnect when PostgreSQL server goes down during runtime

Romain created CAMEL-22146:
------------------------------

             Summary: camel-pgevent - Does not reconnect when PostgreSQL server goes down during runtime
                 Key: CAMEL-22146
                 URL: https://issues.apache.org/jira/browse/CAMEL-22146
             Project: Camel
          Issue Type: Bug
            Reporter: Romain


When using the {{camel-pgevent}} component in an integration, if the PostgreSQL database goes down (e.g., due to a restart or network issue) during runtime, the component does not attempt to reconnect. This results in a permanent loss of event consumption until the application is manually restarted.



*Steps to Reproduce:*
 # Deploy a route using the {{camel-pgevent}} component.

 # Ensure it connects and starts consuming events as expected.

 # Stop or restart the PostgreSQL instance.

 # Observe that the component does not reconnect once the database becomes available again.

*Expected Behavior:*
The component should implement a reconnection strategy that attempts to re-establish the connection to PostgreSQL if it goes down during runtime.

*Actual Behavior:*
No reconnection is attempted, and no events are received anymore until the application is restarted.



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