how to create one file to 2 output files with a condition?
i have a scenario to split one file into two different files using a condition.
based on the account number ( 100's of accounts) i have to split the file into two. ex: acc# 1, acc#2, acc#3 goes into one file rest of the account number records goes into another file how to build the logic.
You can achieve this with the help of Java Mapping..
In the Java Mapping, read input, parse the input while parsing the document , group the data into 2 structures and in the Interface Mapping use this java mapping. So here you have 2 target message interfaces..
Hope this helps,