diff --git a/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-2.1.xsd b/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-2.1.xsd index 9fcec8088b..2473eb5e9c 100644 --- a/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-2.1.xsd +++ b/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-2.1.xsd @@ -1,19 +1,17 @@ + xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:tool="http://www.springframework.org/schema/tool" + xmlns:integration="http://www.springframework.org/schema/integration" + targetNamespace="http://www.springframework.org/schema/integration/ftp" + elementFormDefault="qualified" attributeFormDefault="unqualified"> - - + + + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-2.1.xsd" /> - + - + - 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 provide SpEL expression which will compute directory path - where file will be transferred TO (e.g., "headers.['remote_dir'] + '/myTransfers'"); - - - - - - - Specify whether to automatically create the remote target directory if it doesn't exist. - - - - - - - Allows you to provide remote file/directory separator character. DEFAULT: '/' - - - - - - - Extension used when uploading files. We change it right after we know it's uploaded. + Specify whether to automatically create the + remote target directory if + it doesn't exist. - - - Allows you to specify a reference to - [org.springframework.integration.file.FileNameGenerator] bean. - - - - - - - - - - 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 a reference to + [org.springframework.integration.file.FileNameGenerator] bean. + + + + + + + + + + + + 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'"); - Specifies the order for invocation when this endpoint is connected as a -subscriber to a channel. This is particularly relevant when that channel -is using a "failover" dispatching strategy, or when a failure in the delivery to one subscriber should signal that -the message should not be sent to subscribers with a higher 'order' attribute. It has no effect when this -endpoint itself is a Polling Consumer for a channel with a queue. + Specifies the order for invocation when this + endpoint is connected as a + subscriber to a channel. This is + particularly relevant when that channel + is using a "failover" + dispatching strategy, or when a failure in + the delivery to one + subscriber should signal that + the message should not be sent to + subscribers with a higher 'order' + attribute. It has no effect + when this + endpoint itself is a Polling Consumer for a channel + with a queue. @@ -105,103 +104,99 @@ endpoint itself is a Polling Consumer for a channel with a queue. - + - Allows you to provide a file name pattern to determine the file names that need to be scanned. - This is based on simple pattern matching (e.g., "*.txt, fo*.txt" etc.) - + Allows you to provide a file name pattern to + determine the file names + that need to be scanned. + This is based on + simple pattern matching (e.g., "*.txt, fo*.txt" + etc.) + - + - Allows you to provide a SpEL expression to generate the file name of - the local (transferred) file. The root object of the SpEL evaluation is the name of the original - file. For example, a valid expression would be "#this.toUpperCase() + '.a'" where #this represents the - original name of the remote file. + Allows you to provide a SpEL expression to + generate the file name of + the local (transferred) file. The root + object of the SpEL + evaluation is the name of the original + file. + For example, a valid expression would be "#this.toUpperCase() + + '.a'" where #this represents the + original name of the remote + file. - Allows you to provide a Regular Expression to determine the file names that need to be scanned. - (e.g., "f[o]+\.txt" etc.) - - - - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - Default is 'true' + Allows you to provide a Regular Expression to + determine the file names + that need to be scanned. + (e.g., + "f[o]+\.txt" etc.) - - + - - + + - + - Allows you to specify a reference to a - [org.springframework.integration.file.filters.FileListFilter] bean. - - - - - - - Extension used when downloading files. We change it right after we know it's downloaded. + Allows you to specify a reference to a + [org.springframework.integration.file.filters.FileListFilter] + bean. - + - - Identifies the directory path (e.g., "/temp/mytransfers") where files will be transferred FROM. + + Identifies the directory path (e.g., + "/local/mytransfers") where files + will be transferred TO. - + - Allows you to provide a remote file/directory separator character. DEFAULT: '/' - - - - - - - Identifies the directory path (e.g., "/local/mytransfers") where files will be transferred TO. - - - - - - - Tells this adapter if the local directory must be auto-created if it doesn't exist. Default is TRUE. + Tells this adapter if the local directory must + be auto-created if it + doesn't exist. Default is TRUE. - Specify whether to delete the remote source file after copying. - By default, the remote files will NOT be deleted. + Specify whether to delete the remote source + file after copying. + By default, the remote files will NOT be + deleted. @@ -217,198 +212,245 @@ endpoint itself is a Polling Consumer for a channel with a queue. ]]> - - - - - - - - - - Reference to a [org.springframework.integration.ftp.session.AbstractFtpSessionFactory] bean. - - - - - - - - - - - - FTP command - ls, get or rm - - - - - - - FTP command options; for ls, -1 means just return the file names (otherwise file - metadata is returned, -dirs means include directories (not included by default), - -links means include links (not included by default); for get, -P means preserve - timestamp from remote file. - - - - - - - SpEL expression representing the path in the command (e.g. ls path to - list the files in directory path). - - - - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - Default is 'true' - - - - - - - Extension used when downloading files. We change it right after we know it's downloaded. - - - - - - - - - - - - Identifies the request channel attached to this gateway. - - - - - - - - - - - - Identifies the reply channel attached to this gateway. - - - - - - - - - - - - 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 retrieved by the ls command - 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 retrieved by the ls command. - (e.g., "f[o]+\.txt" etc.) - - - - - - - Allows you to provide remote file/directory separator character. DEFAULT: '/' - - - - - - - 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. - - - - - - - Specifies the order for invocation when this endpoint is connected as a -subscriber to a channel. This is particularly relevant when that channel -is using a "failover" dispatching strategy, or when a failure in the delivery to one subscriber should signal that -the message should not be sent to subscribers with a higher 'order' attribute. It has no effect when this -endpoint itself is a Polling Consumer for a channel with a queue. - - - + + + + + + FTP command - ls, get or rm + + + + + + + FTP command options; for ls, -1 means just + return the file names + (otherwise file + metadata is returned, -dirs + means include directories (not included by + default), + -links means + include links (not included by default); for get, -P means + preserve + timestamp from remote file. + + + + + + + SpEL expression representing the path in the + command (e.g. ls path to + list the files in directory path). + + + + + + + + + + + + Identifies the request channel attached to + this + gateway. + + + + + + + + + + + + Identifies the reply channel attached to this + gateway. + + + + + + + + + + + + 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 retrieved by the ls command + 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 retrieved by the ls command. + (e.g., + "f[o]+\.txt" etc.) + + + + + + + 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. + + + + + + + Specifies the order for invocation when this + endpoint is connected as a + subscriber to a channel. This is + particularly relevant when that channel + is using a "failover" + dispatching strategy, or when a failure in the + delivery to one + subscriber should signal that + the message should not be sent to + subscribers with a higher 'order' + attribute. It has no effect + when + this + endpoint itself is a Polling Consumer for a channel with + a + queue. + + + + + - - + + + + + + Identifies the directory path (e.g., "/temp/mytransfers") + + + + + + + + + + + + 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). + + + + + + + Allows you to specify Charset (e.g., US-ASCII, ISO-8859-1, UTF-8). [UTF-8] is default + + + + + + + + + + - + - + - - - - - - - - - - - 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). - - - - - - - Allows you to specify Charset (e.g., US-ASCII, ISO-8859-1, UTF-8). [UTF-8] is default + Extension used when downloading files. We + change + it right after we know it's + downloaded. - + + + + + Allows you to provide remote file/directory + separator character. DEFAULT: + '/' + + + + + + + + + + + + Lifecycle attribute signaling if this component + should be started during + Application Context startup. + Default is + 'true' + + + + diff --git a/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-2.1.xsd b/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-2.1.xsd index 85da6c40d8..bb584b6e5d 100644 --- a/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-2.1.xsd +++ b/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-2.1.xsd @@ -1,17 +1,15 @@ + xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:tool="http://www.springframework.org/schema/tool" + xmlns:integration="http://www.springframework.org/schema/integration" + targetNamespace="http://www.springframework.org/schema/integration/sftp" + elementFormDefault="qualified" attributeFormDefault="unqualified"> - - + + + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-2.1.xsd" /> @@ -21,116 +19,81 @@ ]]> - - - - - - - - - - - - - - - - - - - - - - - - - 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 remote file/directory separator character. DEFAULT: '/' + 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 provide SpEL expression which will compute directory path - where file will be transferred TO (e.g., "headers.['remote_dir'] + '/myTransfers'"); - - - - - - - Extension used when uploading files. We change it right after we know it's uploaded. - - - - - - - - Specify whether to automatically create the remote target directory if it doesn't exist. - - - - - - - Allows you to specify a reference to - [org.springframework.integration.file.FileNameGenerator] bean. - - - - - - - - - - - - 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 - - - - - - - Specifies the order for invocation when this endpoint is connected as a -subscriber to a channel. This is particularly relevant when that channel -is using a "failover" dispatching strategy, or when a failure in the delivery to one subscriber should signal that -the message should not be sent to subscribers with a higher 'order' attribute. It has no effect when this -endpoint itself is a Polling Consumer for a channel with a queue. - - - + + + + + Specify whether to automatically create the + remote target directory if + it doesn't exist. + + + + + + + Allows you to specify a reference to + [org.springframework.integration.file.FileNameGenerator] bean. + + + + + + + + + + + + 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'"); + + + + + + + Specifies the order for invocation when this + endpoint is connected as a + subscriber to a channel. This is + particularly relevant when that channel + is using a "failover" + dispatching strategy, or when a failure in + the delivery to one + subscriber should signal that + the message should not be sent to + subscribers with a higher 'order' + attribute. It has no effect + when this + endpoint itself is a Polling Consumer for a channel + with a queue. + + + + + @@ -141,141 +104,107 @@ endpoint itself is a Polling Consumer for a channel with a queue. ]]> - - - - - - - - - - - - - Reference to a DefaultSftpSessionFactory bean. - - - - - - + + + + + + + - - - - - - - - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - Default is 'true' - - - - - - - Extension used when downloading files. We change it right after we know it's downloaded. - - - - - - - - - - - - Identifies the 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 the channel where - messages will be sent to by this adapter (e.g., inbound-channel-adapter). - - - - - - - - - - - - Allows you to specify a reference to a - [org.springframework.integration.file.filters.FileListFilter] bean. - - - - - - - Allows you to provide a file name pattern to determine the file names that need to be scanned. - This is based on simple pattern matching (e.g., "*.txt, fo*.txt" etc.) - - - - - - - Allows you to provide a SpEL expression to generate the file name of - the local (transferred) file. The root object of the SpEL evaluation is the name of the original - file. For example, a valid expression would be "#this.toUpperCase() + '.a'" where #this represents the - original name of the remote file. - - - - - - - Allows you to provide a Regular Expression to determine the file names that need to be scanned. - (e.g., "f[o]+\.txt" etc.) - - - - - - - Allows you to provide a remote file/directory separator character. DEFAULT: '/' - - - - - - - Identifies the directory path (e.g., "/temp/mytransfers") where files will be transferred FROM. - - - - - - - Identifies the directory path (e.g., "/local/mytransfers") where files will be transferred TO. - - - - - - - Tells this adapter if the local directory must be auto-created if it doesn't exist. Default is TRUE. - - - - - - - Specify whether to delete the remote source file after copying. - By default, the remote files will NOT be deleted. - - - + + + + + + + + + + + Allows you to specify a reference to a + [org.springframework.integration.file.filters.FileListFilter] + bean. + + + + + + + Allows you to provide a file name pattern to + determine the file names + that need to be scanned. + This is based on + simple pattern matching (e.g., "*.txt, fo*.txt" + etc.) + + + + + + + Allows you to provide a SpEL expression to + generate the file name of + the local (transferred) file. The root + object of the SpEL + evaluation is the name of the original + file. + For example, a valid expression would be "#this.toUpperCase() + + '.a'" where #this represents the + original name of the remote + file. + + + + + + + Allows you to provide a Regular Expression to + determine the file names + that need to be scanned. + (e.g., + "f[o]+\.txt" etc.) + + + + + + + Identifies the directory path (e.g., + "/local/mytransfers") where files + will be transferred TO. + + + + + + + Tells this adapter if the local directory must + be auto-created if it + doesn't exist. Default is TRUE. + + + + + + + Specify whether to delete the remote source + file after copying. + By default, the remote files will NOT be + deleted. + + + + + @@ -286,152 +215,251 @@ endpoint itself is a Polling Consumer for a channel with a queue. ]]> - - - - - - - - - - Reference to a [org.springframework.integration.sftp.session.SftpSessionFactory] bean. - - - - - - - - - - - - sftp command - ls, get or rm - - - - - - - sftp command options; for ls, -1 means just return the file names (otherwise file - metadata is returned, -dirs means include directories (not included by default), - -links means include links (not included by default); for get, -P means preserve - timestamp from remote file. - - - - - - - SpEL expression representing the path in the command (e.g. ls path to - list the files in directory path). - - - - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - Default is 'true' - - - - - - - Extension used when downloading files. We change it right after we know it's downloaded. - - - - - - - - - - - - Identifies the request channel attached to this gateway. - - - - - - - - - - - - Identifies the reply channel attached to this gateway. - - - - - - - - - - - - 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 retrieved by the ls command - 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 retrieved by the ls command. - (e.g., "f[o]+\.txt" etc.) - - - - - - - Allows you to provide remote file/directory separator character. DEFAULT: '/' - - - - - - - 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. - - - - - - - Specifies the order for invocation when this endpoint is connected as a -subscriber to a channel. This is particularly relevant when that channel -is using a "failover" dispatching strategy, or when a failure in the delivery to one subscriber should signal that -the message should not be sent to subscribers with a higher 'order' attribute. It has no effect when this -endpoint itself is a Polling Consumer for a channel with a queue. - - - + + + + + + + sftp command - ls, get or rm + + + + + + + sftp command options; for ls, -1 means just + return the file names + (otherwise file + metadata is returned, -dirs + means include directories (not included by + default), + -links means + include links (not included by default); for get, -P means + preserve + timestamp from remote file. + + + + + + + SpEL expression representing the path in the + command (e.g. ls path to + list the files in directory path). + + + + + + + + + + + + Identifies the request channel attached to this + gateway. + + + + + + + + + + + + Identifies the reply channel attached to this + gateway. + + + + + + + + + + + + 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 retrieved by the ls command + 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 retrieved by the ls command. + (e.g., + "f[o]+\.txt" etc.) + + + + + + + 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. + + + + + + + Specifies the order for invocation when this + endpoint is connected as a + subscriber to a channel. This is + particularly relevant when that channel + is using a "failover" + dispatching strategy, or when a failure in the + delivery to one + subscriber should signal that + the message should not be sent to + subscribers with a higher 'order' + attribute. It has no effect when + this + endpoint itself is a Polling Consumer for a channel with a + queue. + + + + + + + + + + + + Identifies the directory path (e.g., + "/temp/mytransfers") + + + + + + + + + + + + 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). + + + + + + + Allows you to specify Charset (e.g., US-ASCII, + ISO-8859-1, UTF-8). [UTF-8] is default + + + + + + + + + + + + + + + + + + + + + + + Extension used when downloading files. We + change + it right after we know it's + downloaded. + + + + + + + Allows you to provide remote file/directory + separator character. DEFAULT: + '/' + + + + + + + + + + + + Lifecycle attribute signaling if this component + should be started during + Application Context startup. + Default is + 'true' + + + + +