Supporting multiple datasources

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Supporting multiple datasources


Could you please give a high level explanation/guidance on how we can go about adding support of multiple datasources?

For example, it can be something as crude as the following:

private DataSource dataSource1;

private DataSource dataSource2;

In a spring application I've created, I used @EnableJpaRepositories to feed it an entityManagerFactoryRef which was configured with the proper information of two repositories (datasources).

Is there a way to have the Citrus Framework support multiple datasources?

Your feedback is greatly appreciated!

Thank you very much.

Luis B.