You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2018/10/02 06:16:17 UTC
[camel] branch master updated (2ac341d -> 1a60352)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.
from 2ac341d CAMEL-12846: Allow customization of REST API do...
add f754aa0 CAMEL-5558 - add file existing move strategy interface to let custom implementations be provided and add a test case for file component
add 1a60352 CAMEL-5558 - improve javadoc
No new revisions were added by this update.
Summary of changes:
camel-core/src/main/docs/file-component.adoc | 3 +-
.../apache/camel/component/file/FileEndpoint.java | 13 +-
.../camel/component/file/FileOperations.java | 54 +-------
...GenericFileDefaultMoveExistingFileStrategy.java | 87 +++++++++++++
.../camel/component/file/GenericFileEndpoint.java | 15 +++
.../file/strategy/FileMoveExistingStrategy.java | 43 +++++++
.../file/FileProducerMoveExistingStrategyTest.java | 137 +++++++++++++++++++++
.../camel-ftp/src/main/docs/ftp-component.adoc | 3 +-
.../camel-ftp/src/main/docs/ftps-component.adoc | 3 +-
.../camel-ftp/src/main/docs/sftp-component.adoc | 3 +-
.../remote/FtpDefaultMoveExistingFileStrategy.java | 96 +++++++++++++++
.../camel/component/file/remote/FtpEndpoint.java | 12 ++
.../camel/component/file/remote/FtpOperations.java | 61 +--------
.../SftpDefaultMoveExistingFileStrategy.java | 83 +++++++++++++
.../camel/component/file/remote/SftpEndpoint.java | 12 ++
.../component/file/remote/SftpOperations.java | 51 +-------
.../camel-jsch/src/main/docs/scp-component.adoc | 3 +-
17 files changed, 516 insertions(+), 163 deletions(-)
create mode 100644 camel-core/src/main/java/org/apache/camel/component/file/GenericFileDefaultMoveExistingFileStrategy.java
create mode 100644 camel-core/src/main/java/org/apache/camel/component/file/strategy/FileMoveExistingStrategy.java
create mode 100644 camel-core/src/test/java/org/apache/camel/component/file/FileProducerMoveExistingStrategyTest.java
create mode 100644 components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpDefaultMoveExistingFileStrategy.java
create mode 100644 components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpDefaultMoveExistingFileStrategy.java