Multiple Datasources to be connected to a Single JDBC Inbound Channel Adapter
Hi,
I have a query regarding a use-case where I have 3 separate Data Sources. I have searched on the forum already and havent found a use-case such as this.
I am firing the same query in all 3 of them once a day (everyday). Each query fired generates a single String message.
Presently I am implementing like this:-
DataSource1 ->JDBC Inbound Channel Adapter 1 \
DataSource2 ->JDBC Inbound Channel Adapter 2 ---> Service Activator
DataSource3 ->JDBC Inbound Channel Adapter 3 /
Now, These 3 channel adapters seem to be an unnecessary overhead on the lines of code.
Is it possible for me to use only ONE channel adapter and read the databases in a one-by-one fashion?
Thanks in Advance.