diff --git a/org.springframework.integration.file/src/main/resources/META-INF/spring.schemas b/org.springframework.integration.file/src/main/resources/META-INF/spring.schemas index cbf84b3d96..190aedc84a 100644 --- a/org.springframework.integration.file/src/main/resources/META-INF/spring.schemas +++ b/org.springframework.integration.file/src/main/resources/META-INF/spring.schemas @@ -1 +1,3 @@ -http\://www.springframework.org/schema/integration/file/spring-integration-file-1.0.xsd=org/springframework/integration/file/config/spring-integration-file-1.0.xsd \ No newline at end of file +http\://www.springframework.org/schema/integration/file/spring-integration-file-1.0.xsd=org/springframework/integration/file/config/spring-integration-file-1.0.xsd +http\://www.springframework.org/schema/integration/file/spring-integration-file-2.0.xsd=org/springframework/integration/file/config/spring-integration-file-2.0.xsd +http\://www.springframework.org/schema/integration/file/spring-integration-file.xsd=org/springframework/integration/file/config/spring-integration-file-2.0.xsd \ No newline at end of file diff --git a/org.springframework.integration.file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.0.xsd b/org.springframework.integration.file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.0.xsd new file mode 100644 index 0000000000..c2c89f3aa6 --- /dev/null +++ b/org.springframework.integration.file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.0.xsd @@ -0,0 +1,240 @@ + + + + + + + + + + + + + + + Configures an inbound Channel Adapter that polls a directory and sends + Messages whose payloads are instances of java.io.File. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specify whether to automatically create the source directory if it does not yet exist when this + adapter is being initialized. The default value is 'true'. If set to 'false' and the directory + does not exist upon initialization, an Exception will be thrown. + + + + + + + + + + + Configures an outbound Channel Adapter that writes Message payloads to a File. + + + + + + + + + + + + + + + + + + + + + + + Configures an outbound Gateway that writes request Message payloads to a File and + then generates a reply Message containing the newly written File as its payload. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specify whether to automatically create the destination directory if it does not yet exist + when this adapter is being initialized. The default value is 'true'. If set to 'false' and + the directory does not exist upon initialization, an Exception will be thrown. + + + + + + + + + + + Creates a Transformer that converts a File payload to a String. + + + + + + + + + + + + + + + Creates a Transformer that converts a File payload to an array of bytes. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +