I have a scenario here, the mapping should be done automatically based on input schema. for example let us consider two scenarios. if the input file consists of 5 columns then a particular mapping should be done and if the input file consists of 8 columns then a different mapping should be done. Here only one job should be designed, based on the input template the mapping has to be changed. The input may be any delimited file and the output should be xml. so should i have to use tjava component and have to write conditions in it or how to do it?
can anyone suggest me?
Could you please elaborate your case with an example with input and expected output values?