Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12786

Option readLockLoggingLevel not working for SFTP changed read lock strategy

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.19.0, 2.22.0
    • Fix Version/s: 2.21.3, 2.22.2, 2.23.0
    • Component/s: camel-ftp
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      method setReadLockLoggingLevel is not invoked in class SftpProcessStrategyFactory so logging level is always set to default (WARN)

       

      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;
      }

        Attachments

          Activity

            People

            • Assignee:
              dmvolod Dmitry Volodin
              Reporter:
              kolas Seweryn Walendzik
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: