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:
Tony Falabella
2015-02-04 23:18:37 -05:00
committed by Artem Bilan
parent 24beee9627
commit a7d325adc1
9 changed files with 233 additions and 87 deletions

View File

@@ -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>

View File

@@ -22,5 +22,14 @@
attribute.
</para>
</section>
<section id="4.2-file-outbound-channel-adapter">
<title>File Outbound Channel Adapter</title>
<para>
The <code>&lt;int-file:outbound-channel-adapter&gt;</code> and
<code>&lt;int-file:outbound-gateway&gt;</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>