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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.20.2
    • Fix Version/s: 2.22.0
    • Component/s: camel-stream
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: