[
https://issues.apache.org/jira/browse/CAMEL-12093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16298046#comment-16298046
]
Claus Ibsen commented on CAMEL-12093:
-------------------------------------
The marker file etc is not good for competing consumers. You cannot rely on
that, see the CiA2 book on the idempotent chapter that covers this.
> FileNotFound when running on multiple nodes
> -------------------------------------------
>
> Key: CAMEL-12093
> URL: https://issues.apache.org/jira/browse/CAMEL-12093
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.20.1
> Reporter: Arno Noordover
>
> When running a FileConsumer on multiple nodes you can get a
> FileNotFoundException when during an iteration over the list of files the
> other node already processed the file.
> Maybe we should check whether the file exists after acquiring the lock in for
> example the markfile-strategy.
> I don't know if this is applicable to other strategies as well.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)