title: Routing to different mysql datasource master/slave in a springboot application using spring jpa and reading properties from application.properties
body: <p>Routing to different mysql datasource master/slave in a springboot application using spring jpa and reading properties from application.properties</p>
  
  <p>How should i route to different databases in a spring application </p>
  
  <p>I am using AbstractRoutingDatasource spring library</p>