title: Multiple camel route processing same file
body: <p>I have 10 routes defined with 2 of them listed here. The other 8 are identical but the from endpoint is a different dir. Each route picks up a file that is located in the dir and is processed by one groovy class.  When one file is dropped into one of the dir it works fine, but when a file is dropped into each of the dir's at the same time each thread seems to go haywire.  I do receive logging messages that I have picked up each file, but then it seems like each thread uses one process "beginProcess" because its like all my variables defined in groovy are being changed as each file gets picked up.  Im not sure if this makes any sence, but can someone tell me that what I am doing below is legal?  Basically can multiple routes call one class and if so whether I am doing that correct? If it is then at least I would know that it has to be in my groovy class(but seeing that it works with one file suggest that its not here, but not assuming that at this point).  Thanks much!</p>
  
  <pre><code>&lt;camel:camelContext id="myId"
      xmlns="http://camel.apache.org/schema/spring"&gt;
  
      &lt;route&gt;
          &lt;from
              uri="file://directoryStructure1/?move=archive&amp;amp;sortBy=ignoreCase:file:name&amp;amp;readLock=markerFile&amp;amp;readLockCheckInterval=5000&amp;amp;readLockTimeout=10m&amp;amp;maxMessagesPerPoll=1" /&gt;
          &lt;process ref="beginProcess"&gt;&lt;/process&gt;
      &lt;/route&gt;
  
      &lt;route&gt;
          &lt;from
              uri="file://directoryStructure2/?move=archive&amp;amp;sortBy=ignoreCase:file:name&amp;amp;readLock=markerFile&amp;amp;readLockCheckInterval=5000&amp;amp;readLockTimeout=10m&amp;amp;maxMessagesPerPoll=1" /&gt;
          &lt;process ref="beginProcess"&gt;&lt;/process&gt;
      &lt;/route&gt;
  &lt;/camel:camelContext&gt;
  
      &lt;bean id="beginProcess" class="package.groovy.class"&gt;   &lt;/bean&gt;
  </code></pre>