INT-3577: Remove flush() from TCP Serializers

JIRA: https://jira.spring.io/browse/INT-3577

It is no longer necessary to `flush()` the `BufferedOutputStream`.

Since INT-3575, the `TcpNetConnection` has flushed the stream.

The `TcpNioConnection` now does so too.

* Add `id` for the `<section>`s in the `whats-new.xml`
This commit is contained in:
Gary Russell
2015-02-27 15:05:33 -05:00
committed by Artem Bilan
parent 29e65e68af
commit beeb49d55b
9 changed files with 23 additions and 17 deletions

View File

@@ -31,7 +31,7 @@
The default attribute value is <code>false</code>.
</para>
</section>
<section>
<section id="4.2-class-package-change">
<title>Class Package Change</title>
<para>
The <classname>ScatterGatherHandler</classname> class has been moved from the
@@ -39,6 +39,15 @@
<code>org.springframework.integration.scattergather</code>.
</para>
</section>
<section id="4.2-tcp-serializers">
<title>TCP Serializers</title>
<para>
The TCP <interfacename>Serializers</interfacename> no longer <code>flush()</code> the
<classname>OutputStream</classname>; this is now done by the <classname>TcpNxxConnection</classname>
classes. If you are using the serializers directly within user code, you may have to
<code>flush()</code> the <classname>OutputStream</classname>.
</para>
</section>
<section id="4.2-tcp-server-exceptions">
<title>Server Socket Exceptions</title>
<para>
@@ -47,7 +56,7 @@
See <xref linkend="tcp-events"/> for more information.
</para>
</section>
<section>
<section id="4.2-inbound-channel-adapter-annotation">
<title>@InboundChannelAdapter</title>
<para>
Previously, the <classname>@Poller</classname> on an inbound channel adapter defaulted