Closed
Description
It seems that there are a couple of tricks needed to get a manual setup of multiple DataSources
working nicely including the externalization of properties. Ideally the sample would show:
- How to structure properties so that each
DataSource
has its own distinct configuration. - Show how to declare
@Bean
methods to that they pick up the configuration from the declared property sets. - Optionally (if possible and recommended), show how to share some of the properties declared (e.g. user and password) to avoid mistakes when configuration changes.