I have also come across this scenario, I have fixed my issue by using below flow
trowgenerator> tnormalize > tflowtoiterate > tjava
[Note: In tRowGenerator you have to get the context variables ,which you have in your configuration file.Then In tnormalize component separated by comma ]
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema