2 Replies Latest reply on Feb 16, 2013 3:50 AM by davsclaus

    Need to report an error if the file does not exist

    sergevil

      I have the route that starts with:

       

      <from uri="file:}?fileName={{input_filename}}&amp;noop=true" />

       

      I need to report an error if the file does not exist. But in that case my route hangs on polling for a file. What parameters should I use to avoid polling?

       

      Thank you in advance!