title: Camel count number of files got routed or consumed
body: <p>I want to know number of files got transferred or you can say acknowledgement or notification after each file transferred from consumer to producer.</p>
  
  <p>like simple example </p>
  
  <pre><code>from("file:in").
     .to("file:out");
  </code></pre>
  
  <p>I used .onCompetion() and also tried processor but not worked for me as i am a newbie. Code sample will be very helpful.</p>