[
https://issues.apache.org/jira/browse/CAMEL-22146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-22146:
--------------------------------
Affects Version/s: 4.12.0
> 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
> Affects Versions: 4.12.0
> Reporter: Romain
> Priority: Minor
> Fix For: 4.13.0
>
>
> 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)