diff --git a/spring-integration-reference/src/file.xml b/spring-integration-reference/src/file.xml index ebf39cad55..e94c4d95b0 100644 --- a/spring-integration-reference/src/file.xml +++ b/spring-integration-reference/src/file.xml @@ -15,18 +15,11 @@ transform files into strings or byte arrays. - This section will explain the workings of - PollableFileSource - , - FileWritingMessageConsumer - - and how to configure them as - beans - . Also the support for dealing with files through file specific - implementations of - Transformer - will be discussed. Finally the file specific namespace will be - discussed. + This section will explain the workings ofPollableFileSource, + FileWritingMessageConsumer and how to configure them as + beans. Also the support for dealing with files through file specific + implementations of Transformer will be discussed. Finally + the file specific namespace will be explained. @@ -101,10 +94,10 @@ directory="file:${input.directory.property}"/> (1) (2) + filter="customFilterBean" /> (2) (3) + filename-pattern="^test.*$" /> (3) ]]> Where (1) is relying on the default filter that just prevents @@ -179,12 +172,12 @@ FileToStringTransformer - will convert files to Strings as the name suggests. + will convert Files to Strings as the name suggests. This is mainly useful for debugging. To configure File specific transformers you can use the appropriate elements from the file namespace. - ]]> + ]]> The delete-files option signals the transformer to delete the File after the diff --git a/spring-integration-reference/src/spring-integration-reference.xml b/spring-integration-reference/src/spring-integration-reference.xml index 0db766d77d..63db1f8465 100644 --- a/spring-integration-reference/src/spring-integration-reference.xml +++ b/spring-integration-reference/src/spring-integration-reference.xml @@ -35,6 +35,7 @@ +