Feb 27th, 2013, 03:32 PM
Handling Multiple Calls to JDBC-OutboundGateway
I have a scenario where I am calling two different legacy systems (IBM Mainframe & DB2). I just want to ensure I am using effective way in spring integration implementation. Please see my scenario below
<!-- IBM Mainframe Call Chain -->
<!-- End of IBM Mainframe call -->
<!--JDBC Call -->
<int:chain input-channel="XXXOutputChannel" output-channel="XXXOtherOutputChannel">
<!-- End of JDBC Call -->
What I want to do is,
Output of first chain (IBM mainframe call) will return a collection of objects (ArrayList), and I need to make multiple JDBC (second chain) calls as many times of the objects in the collection and I need to aggregate responses of this JDBC chain responses.
Please advice right way of doing it.