Check for connections and eventually reconnect using dropwizard 0.9.2 and JDBI
I'm using Drowizard 0.9.2 with JDBI to connect to my MySql Server.
Now it could happen that my MySql Database is not active if my app starts due to async deployments. I then want my App to loop and check each 5 secs or so whether it can reach the database.
How is that possible with the framework mentioned above?