How to restart datasource after a db timeout in JBoss Fuse ?
Issue
- I am defining a datasource in my camel context when my bundle starts running. The database has an idle timeout that expires. The only way I have found to restart the datasource connection is by issuing the install of the bundle again. Is there any other way to restart a datasource in the in camel route if it detects the message that the datasource is down?
Environment
- Red Hat JBoss Fuse
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.