[
https://issues.apache.org/jira/browse/CAMEL-13025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16727465#comment-16727465
]
Claus Ibsen commented on CAMEL-13025:
-------------------------------------
The camel-ftp component may need a similar check in some of its read lock
implementations
> camel-core - File read lock changed - If file gets deleted then break out loop
> ------------------------------------------------------------------------------
>
> Key: CAMEL-13025
> URL: https://issues.apache.org/jira/browse/CAMEL-13025
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.18.5
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 2.21.4, 2.22.3, 3.0.0, 2.24.0, 2.23.1
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> See SO
> https://stackoverflow.com/questions/53865940/apache-camel-route-hangs-when-file-is-deleted-during-processing?noredirect=1#comment94587192_53865940
> So if the target file gets deleted during the check interval and you have
> timeout = 0, then it will keep looping. So we should add a check if the file
> still exists in the looping.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)