I am using Spring integration for liquibase. The requirement I have is to execute the changelog on multiple datasources. Could you please help me on how to achieve this?
You should be able to just define multiple beans:
Thanks for the reply. I do not want to define multiple datasources because my requirement is more dynamic. The data source list is determined at run time during application start up. we fetch the datasource list from the global schema table. Can I override a method which executes the changelog to loop through multiple datasources? If yes, please let me know the method name.
You can override the SpringLiquibase.getDataSource() method