diff --git a/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-2.0.xsd b/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-2.0.xsd index 99327fcca5..9d32955b84 100644 --- a/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-2.0.xsd +++ b/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-2.0.xsd @@ -29,6 +29,9 @@ + @@ -38,15 +41,33 @@ + + Identifies channel attached to this adapter. Depending on the type of the adapter + this channel could be the receiving channel (e.g., outbound-channel-adapter) or channel where + messages will be sent to by this adapter (e.g., inbound-channel-adapter). + + + + + + + Identifies directory path (e.g., "/temp/mytransfers") where file will be transferred TO + + + + + + + Allows you to provide SpEL expression which will compute directory path + where file will be transferred TO (e.g., "headers.['remote_dir'] + '/myTransfers'"); + - - Allows you to specify a reference to - [org.springframework.integration.file.FileNameGenerator] implementation. + [org.springframework.integration.file.FileNameGenerator] bean. @@ -55,8 +76,21 @@ - - + + + + Allows you to provide SpEL expression which will compute file name of + the remote file (e.g., assuming payload is java.io.File - payload.getName() + '.transfered'); + + + + + + + Allows you to specify Charset (e.g., US-ASCII, ISO-8859-1, UTF-8). [UTF-8] is default + + + @@ -64,13 +98,6 @@ poller element to determine at what frequency to scan the remote directory. - There is support for automatically deleting remote files upon synchornization. This adapter supports two connectivity options: -
    -
  1. Password authentication: using this opton, authentication is done using a username and a password.
  2. -
  3. Key-based authentication: using this option, you may specify a key that will be used to authenticate. - If they key itself is encrypted and requires a password, you may specify that, as well.
  4. -
]]>
@@ -85,9 +112,19 @@ + + Reference to a [org.springframework.integration.sftp.session.SftpSessionFactory] bean. + + +
+ + + + Lifecycle attribute signaling if this component should be started during Application Context startup. + Default is 'true' + - @@ -95,6 +132,11 @@ + + Identifies channel attached to this adapter. Depending on the type of the adapter + this channel could be the receiving channel (e.g., outbound-channel-adapter) or channel where + messages will be sent to by this adapter (e.g., inbound-channel-adapter). + @@ -104,13 +146,49 @@ + + Allows you to specify a reference to + [org.springframework.integration.file.filters.FileListFilter] bean. + + + + + + + Allows you to provide file name pattern to determine the file names that needs to be scanned + and is based on simple pattern matching algorithm (e.g., "*.txt, fo*.txt" etc.) + + + + + + + Allows you to provide Regular Expression to determine the file names that needs to be scanned. + (e.g., "f[o]+\.txt" etc.) + + + + + + + Identifies directory path (e.g., "/temp/mytransfers") where file will be transferred FROM. + + + + + + + Identifies directory path (e.g., "/local/mytransfers") where file will be transferred TO. + + + + + + + Tells this adapter if local directory must be auto-created if it doesn''t exist. Default is TRUE. + - - - - -