INT-563 except callouts

This commit is contained in:
Iwein Fuld
2009-03-13 16:34:48 +00:00
parent 229ffc0489
commit 80e9a7b20f
10 changed files with 39 additions and 39 deletions

View File

@@ -29,7 +29,7 @@
</para>
<para>
To prevent creating messages for certain files, you may supply a
{@link FileListFilter}. By default, an
<interfacename>FileListFilter</interfacename>. By default, an
<classname>AcceptOnceFileListFilter</classname>
is used. This filter ensures files are picked up only once from the
directory.
@@ -84,15 +84,15 @@
Within this namespace you can reduce the FileReadingMessageSource and wrap
it in an InboundChannelAdapter like this:
<programlisting language="xml"><![CDATA[<file:inbound-channel-adapter id="filesIn"
directory="file:${input.directory.property}"/> (1)
directory="file:${input.directory.property}"/>
<file:inbound-channel-adapter id="filesIn"
directory="file:${input.directory.property}"
filter="customFilterBean" /> (2)
filter="customFilterBean" />
<file:inbound-channel-adapter id="filesIn"
directory="file:${input.directory.property}"
filename-pattern="^test.*$" /> (3)]]></programlisting>
Where (1) is relying on the default filter that just prevents
duplication, (2) is using a custom filter and (3) is using the
filename-pattern="^test.*$" /> ]]></programlisting>
Where the first channel adapter is relying on the default filter that just prevents
duplication. The second is using a custom filter and the third is using the
<emphasis>filename-pattern</emphasis>
attribute to add a
<classname>Pattern</classname>
@@ -168,7 +168,7 @@
<para>
To configure File specific transformers you can use the appropriate
elements from the file namespace.
<programlisting language="xml"><![CDATA[<file-to-bytes-transformer input-channel="intput" output-channel="output" delete-files="true"/>]]></programlisting>
<programlisting language="xml"><![CDATA[<file-to-bytes-transformer input-channel="input" output-channel="output" delete-files="true"/>]]></programlisting>
The
<emphasis>delete-files</emphasis>
option signals the transformer to delete the File after the