title: Camel Batch File Consumer and deleting done files
body: <p>I have a File Consumer which may consume more than one files per batch:</p>
  
  <pre><code>file://./working_dir?antInclude=*.gz&amp;initialDelay=1000&amp;delay=500&amp;maxMessagesPerPoll=100&amp;delete=true&amp;doneFileName=${file:name}.done
  </code></pre>
  
  <p>File consumption is working fine, but it appears that only the done file for the last file gets deleted after processing.</p>
  
  <p>If I reduce the <code>maxMessagesPerPoll</code> to 1, everything seems to be working as expected. </p>
  
  <p>Am I doing something wrong here? I'm using Camel 2.10.5. </p>