You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.