I am working on helidon SE service where AQ connector is being used. The service is registered as listener/subscriber to a multi-consumer queue. If database connection is reset due to db restart, AQ connector does not throw any error. The subscription becomes invalid and service is no longer able to receive messages. Is there a way to identify if DB connection is alive and more importantly if the subscriber is active? Also wanted to know any hook points where the error (to be thrown is connection is reset) could be intercepted so that AQ can re-establish connection with DB and activate the subscription?
Tried AQ connector for Helidon SE described here - https://medium.com/helidon/helidon-messaging-with-oracle-aq-a023928dbbb8 As the connector is not able to intercept DB connection reset, this fails if database is restarted.