I made a work around which is working quite nicely, creating the header by querying the columnames of the @DataField annotation. This is happening once the first time the file is written. I wrote down the whole solution here:
https://stackoverflow.com/questions/35183977/how-to-generate-a-flat-file-with-header-and-footer-using-camel-bindy/55244636#55244636
I made a work around which is working quite nicely, creating the header by querying the columnames of the @DataField annotation. This is happening once the first time the file is written. I wrote down the whole solution here:
https://stackoverflow.com/questions/35183977/how-to-generate-a-flat-file-with-header-and-footer-using-camel-bindy/55244636#55244636