Reda BALKOUCH created CAMEL-12551:
-------------------------------------

             Summary: Camel does not have logic that checks that it should only 
retry when its a new/changed file
                 Key: CAMEL-12551
                 URL: https://issues.apache.org/jira/browse/CAMEL-12551
             Project: Camel
          Issue Type: Bug
          Components: camel-stream
    Affects Versions: 2.20.2
            Reporter: Reda BALKOUCH


Hello,

I am reading a file using the stream camel component. The behaviour expected is 
the following :
 # Read the stream
 # 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to