diff --git a/spring-integration-reference/src/file.xml b/spring-integration-reference/src/file.xml
index fed587a8e1..a1cab6cece 100644
--- a/spring-integration-reference/src/file.xml
+++ b/spring-integration-reference/src/file.xml
@@ -15,16 +15,17 @@
transform files into strings or byte arrays.
- This section will explain the workings of PollableFileSource, FileWritingMessageHandler 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.
+ This section will explain the workings of FileReadingMessageSource, FileWritingMessageHandler 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.
Reading Files
- A PollableFileSource can be used to consume files from the filesystem. This is an implementation of MessageSource that creates messages from a file system directory.
- ]]>
+ A FileReadingMessageSource can be used to consume files from the filesystem. This is an implementation of MessageSource that creates messages from a file system directory.
+ ]]>
To prevent creating messages for certain files, you may supply a
@@ -32,9 +33,10 @@
AcceptOnceFileListFilter
is used. This filter ensures files are picked up only once from the
directory.
- ]]>
+ ]]>
A common problem with reading files is that a file may be detected
@@ -49,19 +51,20 @@
AcceptOnceFileListFilter
allows for this.
-
-
-
-
-
-
-
-
-
-
- ]]>
+
+
+
+
+
+
+
+
+
+
+]]>
The configuration can be simplified using the file specific
@@ -78,7 +81,7 @@
http://www.springframework.org/schema/integration/file
http://www.springframework.org/schema/integration/file/spring-integration-file-1.0.xsd">
]]>
- Within this namespace you can reduce the PollableFileSource and wrap
+ Within this namespace you can reduce the FileReadingMessageSource and wrap
it in an InboundChannelAdapter like this:
(1)
@@ -94,7 +97,7 @@
attribute to add a
Pattern
based filter to the
- PollableFileSource
+ FileReadingMessageSource
@@ -136,7 +139,7 @@
To transform data read from the file system to objects and the other
way around you need to do some work. Contrary to
- PollableFileSource
+ FileReadingMessageSource
and to a lesser extent
FileWritingMessageHandler