Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12551

Camel does not have logic that checks that it should only retry when its a new/changed file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.20.2
    • 2.22.0
    • camel-stream
    • None
    • Unknown

    Description

      Hello,

      I am reading a file using the stream camel component. The behaviour expected is the following :

      1. Read the stream
      2. When the file roll over, start the reading the file from the begining

      My code :

      {{from("stream:file?fileName=myfile&scanStream=true&scanStreamDelay=1000&retry=true") }}

      The problem with the code above is that the same file is read every 1000ms. The component don't check is the file was rolled over.

      Thanks in advance.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            RedaBalkouch Reda BALKOUCH
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: