CAMEL-8727: File consumer - Add read lock that is based on idempotent repository
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/d1121a7b Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/d1121a7b Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/d1121a7b Branch: refs/heads/master Commit: d1121a7b4b90599b997f4df88b468cddcef18074 Parents: f1c5b54 Author: Claus Ibsen <davscl...@apache.org> Authored: Mon May 4 20:02:17 2015 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Mon May 4 20:02:17 2015 +0200 ---------------------------------------------------------------------- .../java/org/apache/camel/component/file/GenericFileEndpoint.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/d1121a7b/camel-core/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java b/camel-core/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java index ae5381b..ea122cf 100644 --- a/camel-core/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java +++ b/camel-core/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java @@ -939,6 +939,7 @@ public abstract class GenericFileEndpoint<T> extends ScheduledPollEndpoint imple * This option applied only for readLock=idempotent. * This option allows to specify whether to remove the file name entry from the idempotent repository * when processing the file failed and a rollback happens. + * If this option is false, then the file name entry is confirmed (as if the file did a commit). */ public void setReadLockRemoveOnRollback(boolean readLockRemoveOnRollback) { this.readLockRemoveOnRollback = readLockRemoveOnRollback;