We have a Rest API that connects to multiple Database using AbstractRoutingDataSource. It works well for our needs. But during certain maintenance window on one of the datab