You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/04 12:48:00 UTC

[jira] [Commented] (CAMEL-12786) Option readLockLoggingLevel not working for SFTP changed read lock strategy

    [ https://issues.apache.org/jira/browse/CAMEL-12786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16638185#comment-16638185 ] 

ASF GitHub Bot commented on CAMEL-12786:
----------------------------------------

dmvolod opened a new pull request #2551: CAMEL-12786: Option readLockLoggingLevel not working for SFTP changed read lock strategy
URL: https://github.com/apache/camel/pull/2551
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Option readLockLoggingLevel not working for SFTP changed read lock strategy
> ---------------------------------------------------------------------------
>
>                 Key: CAMEL-12786
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12786
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.19.0, 2.22.0
>            Reporter: Seweryn Walendzik
>            Assignee: Viral Gohel
>            Priority: Trivial
>
> method setReadLockLoggingLevel is not invoked in class SftpProcessStrategyFactory so logging level is always set to default (WARN)
>  
> {code:java}
> else if ("changed".equals(readLock)) {
>     SftpChangedExclusiveReadLockStrategy readLockStrategy = new SftpChangedExclusiveReadLockStrategy();
>     Long timeout = (Long) params.get("readLockTimeout");
>     if (timeout != null) {
>         readLockStrategy.setTimeout(timeout);
>     }
>     Long checkInterval = (Long) params.get("readLockCheckInterval");
>     if (checkInterval != null) {
>         readLockStrategy.setCheckInterval(checkInterval);
>     }
>     Long minLength = (Long) params.get("readLockMinLength");
>     if (minLength != null) {
>         readLockStrategy.setMinLength(minLength);
>     }
>     Long minAge = (Long) params.get("readLockMinAge");
>     if (null != minAge) {
>         readLockStrategy.setMinAge(minAge);
>     }
>     Boolean fastExistsCheck = (Boolean) params.get("fastExistsCheck");
>     if (fastExistsCheck != null) {
>         readLockStrategy.setFastExistsCheck(fastExistsCheck);
>     }
>     return readLockStrategy;
> }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)