This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch sandbox/camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 1447ab2167d823944b938f864368da4b2aa72a78
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Wed Dec 5 11:20:13 2018 +0100

    Fixed wrong default mentioned in docs. Thanks to Bjoern Ohm for spotting 
this.
---
 camel-core/src/main/docs/file-component.adoc                            | 2 +-
 .../main/java/org/apache/camel/component/file/GenericFileEndpoint.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/camel-core/src/main/docs/file-component.adoc 
b/camel-core/src/main/docs/file-component.adoc
index 42115b4..3f16527 100644
--- a/camel-core/src/main/docs/file-component.adoc
+++ b/camel-core/src/main/docs/file-component.adoc
@@ -141,7 +141,7 @@ with the following path and query parameters:
 | *readLockIdempotentRelease AsyncPoolSize* (lock) | The number of threads in 
the scheduled thread pool when using asynchronous release tasks. Using a 
default of 1 core threads should be sufficient in almost all use-cases, only 
set this to a higher value if either updating the idempotent repository is 
slow, or there are a lot of files to process. This option is not in-use if you 
use a shared thread pool by configuring the 
readLockIdempotentReleaseExecutorService option. See more details  [...]
 | *readLockIdempotentRelease Delay* (lock) | Whether to delay the release task 
for a period of millis. This can be used to delay the release tasks to expand 
the window when a file is regarded as read-locked, in an active/active cluster 
scenario with a shared idempotent repository, to ensure other nodes cannot 
potentially scan and acquire the same file, due to race-conditions. By 
expanding the time-window of the release tasks helps prevents these situations. 
Note delaying is only needed i [...]
 | *readLockIdempotentRelease ExecutorService* (lock) | To use a custom and 
shared thread pool for asynchronous release tasks. See more details at the 
readLockIdempotentReleaseDelay option. |  | ScheduledExecutor Service
-| *readLockLoggingLevel* (lock) | Logging level used when a read lock could 
not be acquired. By default a WARN is logged. You can change this level, for 
example to OFF to not have any logging. This option is only applicable for 
readLock of types: changed, fileLock, idempotent, idempotent-changed, 
idempotent-rename, rename. | DEBUG | LoggingLevel
+| *readLockLoggingLevel* (lock) | Logging level used when a read lock could 
not be acquired. By default a DEBUG is logged. You can change this level, for 
example to OFF to not have any logging. This option is only applicable for 
readLock of types: changed, fileLock, idempotent, idempotent-changed, 
idempotent-rename, rename. | DEBUG | LoggingLevel
 | *readLockMarkerFile* (lock) | Whether to use marker file with the changed, 
rename, or exclusive read lock types. By default a marker file is used as well 
to guard against other processes picking up the same files. This behavior can 
be turned off by setting this option to false. For example if you do not want 
to write marker files to the file systems by the Camel application. | true | 
boolean
 | *readLockMinAge* (lock) | This option is applied only for readLock=changed. 
It allows to specify a minimum age the file must be before attempting to 
acquire the read lock. For example use readLockMinAge=300s to require the file 
is at last 5 minutes old. This can speedup the changed read lock as it will 
only attempt to acquire files which are at least that given age. | 0 | long
 | *readLockMinLength* (lock) | This option is applied only for 
readLock=changed. It allows you to configure a minimum file length. By default 
Camel expects the file to contain data, and thus the default value is 1. You 
can set this option to zero, to allow consuming zero-length files. | 1 | long
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 1956c8c..c278890 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
@@ -936,7 +936,7 @@ public abstract class GenericFileEndpoint<T> extends 
ScheduledPollEndpoint imple
 
     /**
      * Logging level used when a read lock could not be acquired.
-     * By default a WARN is logged.
+     * By default a DEBUG is logged.
      * You can change this level, for example to OFF to not have any logging.
      * This option is only applicable for readLock of types: changed, 
fileLock, idempotent, idempotent-changed, idempotent-rename, rename.
      */

Reply via email to