title: Apache Camel File Component: Specifying 1 file in regex
body: <p>I have the following Camel route (Spring XML);</p>
  
  <pre><code>&lt;route id="myroute"&gt;
      &lt;from uri="file:///home/myuser/someDir?include=toprocess_*.txt" /&gt;
  
      &lt;to uri="bean:fileProcessor?method=process" /&gt;
  &lt;/route&gt;
  </code></pre>
  
  <p>And on my machine's file system:</p>
  
  <pre><code>/home/user/someDir/
      toprocess_1.txt
      toprocess_2.txt
      toprocess_3.txt
      ...
      toprocess_13904.txt
  </code></pre>
  
  <p>How do I change the <code>include</code> option (or the <code>uri</code> in general) so that only the <strong>first</strong> file (regardless of its name) matching the regex gets added to the route, and subsequently, routed on to the <code>fileProcessor</code> bean?</p>
  
  <p><strong>Please note</strong> that in my example, the first file will most likely be <code>toprocess_1.txt</code>. However I could have a file system like so:</p>
  
  <pre><code>/home/user/someDir/
      toprocess_red.txt
      toprocess_blue.txt
      toprocess_green.txt
      ...
      toprocess_black.txt
  </code></pre>
  
  <p>So it's not as simple as just making the URI:</p>
  
  <pre><code>&lt;from uri="file:///home/myuser/someDir?include=toprocess_1.txt" /&gt;
  </code></pre>
  
  <p>I'm expecting something like:</p>
  
  <pre><code>&lt;from uri="file:///home/myuser/someDir?include=toprocess_*.txt&amp;maxFiles=1" /&gt;
  </code></pre>
  
  <p>But in the <a href="http://camel.apache.org/file.html" rel="nofollow noreferrer">Camel docs</a>, I see no such option, or anything similar to it.</p>