Camel bindy marshal to file creates multiple header row
<p>I have the following camel route:</p>

<pre><code>from(inputDirectory)
  .unmarshal(jaxb)
  .process(jaxb2CSVDataProcessor)
  .split(body()) //because there is a list of CSVRecords
  .marshal(bindyCsvDataFormat)
  .to(outputDirectory); //appending to existing file using "?autoCreate=true&amp;fileExist=Append"
</code></pre>

<p>for my CSV model class I am using annotations:</p>

<pre><code>@CsvRecord(separator = ",", generateHeaderColumns = true)
...
</code></pre>

<p>and for properties</p>

<pre><code>@DataField(pos = 0)
...
</code></pre>

<p>My problem is that the headers are appended every time a new csv record is appended.</p>

<p>Is there a non-dirty way to control this? Am I missing anything here?</p>