Camel csv creating issue -


i need create csv file having thing following structure using camel.

school1_id,school1_name
class1_id,class1_name,division1
student1_id,studennt1_firstname,student1_lastname student2_id,studennt2_firstname,student2_lastname
class2_id,class2_name,division2
student1_id,studennt1_firstname,student1_lastname student2_id,studennt2_firstname,student2_lastname

school2_id,school2_name
class1_id,class1_name,division1
student1_id,studennt1_firstname,student1_lastname
student2_id,studennt2_firstname,student2_lastname
class2_id,class2_name,division2
student1_id,studennt1_firstname,student1_lastname student2_id,studennt2_firstname,student2_lastname

seems bindy not supporting such hierarchical structure , in beanio reference says, "repeating segment may not contain repeating descendants variable occurrences". there other approach or api can implement create such csv in apache camel? using camel 2.17.0

i think best bet normalize custom processor.

an alternative employ spring batch component has advanced strategies of multi-line records.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -