From 761b0ff9f27d429b01373fac0516d8680f13d89a Mon Sep 17 00:00:00 2001 From: Iwein Fuld Date: Wed, 12 May 2010 17:26:49 +0000 Subject: [PATCH] INT-1137: added example of prevent-duplicates and an extra comment about filename-pattern --- spring-integration-reference/src/file.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/spring-integration-reference/src/file.xml b/spring-integration-reference/src/file.xml index c414af80f9..bc714f8f0f 100644 --- a/spring-integration-reference/src/file.xml +++ b/spring-integration-reference/src/file.xml @@ -83,7 +83,7 @@ Within this namespace you can reduce the FileReadingMessageSource and wrap it in an inbound Channel Adapter like this: + directory="file:${input.directory}" prevent-duplicates="true"/> filename-pattern attribute to add a Pattern based filter to the FileReadingMessageSource. + The file-name-pattern and filter attributes are mutually exclusive, but + you can use a CompositeFileListFilter to use any combination of filters, including a + pattern based filter to fit your particular needs. @@ -140,7 +143,7 @@ the outbound-gateway instead. It plays a very similar role as the outbound-channel-adapter. However after writing the File, it will also send it to the reply channel as the payload of a Message. - ]]>