INT-3621: Add Namespace support for appendNewLine
JIRA: https://jira.springsource.org/browse/INT-3621 Polishing for code formatting and simple polishing to Docs
This commit is contained in:
committed by
Artem Bilan
parent
24beee9627
commit
a7d325adc1
@@ -478,6 +478,15 @@
|
||||
Message has a File payload or if the <classname>FileHeaders.ORIGINAL_FILE</classname> header
|
||||
value contains either the source File instance or a String representing the original file path.
|
||||
</note>
|
||||
<para>
|
||||
Starting with <emphasis>version 4.2</emphasis> The <classname>FileWritingMessageHandler</classname>
|
||||
supports an <code>append-new-line</code> option.
|
||||
If set to <code>true</code>, a new line is appended to the file after a message is written.
|
||||
The default attribute value is <code>false</code>.
|
||||
</para>
|
||||
<programlisting language="xml"><![CDATA[<int-file:outbound-channel-adapter id="newlineAdapter"
|
||||
append-new-line="true"
|
||||
directory="${output.directory}"/>]]></programlisting>
|
||||
</section>
|
||||
<section id="file-writing-output-gateway">
|
||||
<title>Outbound Gateway</title>
|
||||
|
||||
@@ -22,5 +22,14 @@
|
||||
attribute.
|
||||
</para>
|
||||
</section>
|
||||
<section id="4.2-file-outbound-channel-adapter">
|
||||
<title>File Outbound Channel Adapter</title>
|
||||
<para>
|
||||
The <code><int-file:outbound-channel-adapter></code> and
|
||||
<code><int-file:outbound-gateway></code> now support an <code>append-new-line</code> attribute.
|
||||
If set to <code>true</code>, a new line is appended to the file after a message is written.
|
||||
The default attribute value is <code>false</code>.
|
||||
</para>
|
||||
</section>
|
||||
</section>
|
||||
</chapter>
|
||||
|
||||
Reference in New Issue
Block a user