Spring Boot with dynamic database

I already have working app with 1 mysql server and every client is in separated database . To work correctly we use this database routing:

https://spring.io/blog/2007/01/23/dynamic-datasource-routing/

But instead of using xml map we use in memory map

Now i should create new separated app to calculate some stuffs for every client and the app should be using spring boot. Can i add datasources in spring boot dynamically ? ( not from the start of the app) Can someone show me tutorial how to do that?...

Read More »

By: StackOverFlow - Wednesday, 14 November

Related Posts