[
https://issues.apache.org/jira/browse/CAMEL-12551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16500156#comment-16500156
]
Claus Ibsen commented on CAMEL-12551:
-------------------------------------
Okay taking a look at this, and its a bit more tricky to roll-over the file
when its changed. So we need to add some more logic to make this more reliable.
> 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
> Priority: Major
> Fix For: 2.22.0
>
>
> 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)