From ebc30dc241d1c9e92c8959eabd76cc1918e6f221 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Fri, 14 Aug 2009 21:40:33 +0000 Subject: [PATCH] created 2.0 version of XSD --- .../main/resources/META-INF/spring.schemas | 4 +- .../config/spring-integration-file-2.0.xsd | 240 ++++++++++++++++++ 2 files changed, 243 insertions(+), 1 deletion(-) create mode 100644 org.springframework.integration.file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.0.xsd 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. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +