INT-2515 More Orderly Shutdown
* Add beginShutdown() and endShutdown() to OrderlyShutdownCapable * JMS/AMQP stop listener containers * TCP (server side) ** after beginShutdown() disallow new connections, drop (log) new messages ** after endShutdown() close server socket * HTTP (server side) ** after beginShutdown() disallow any new requests (503 Service Unavailable) * Docbook updates ** What's new section ** Orderly Shutdown section.
This commit is contained in:
committed by
Gunnar Hillert
parent
da858b7451
commit
ae0abc4f6c
@@ -421,6 +421,19 @@
|
||||
seconds).
|
||||
</para>
|
||||
</section>
|
||||
<section id="jmx-mbean-shutdown">
|
||||
<title>Orderly Shutdown Managed Operation</title>
|
||||
|
||||
<para>
|
||||
The MBean exporter provides a JMX operation to shut down the application
|
||||
in an orderly manner, intended for use before terminating the JVM.
|
||||
</para>
|
||||
<programlisting language="java"><![CDATA[public void stopActiveComponents(boolean force, long howLong)
|
||||
]]></programlisting>
|
||||
<para>
|
||||
Its use and operation are described in <xref linkend="jmx-shutdown"/>.
|
||||
</para>
|
||||
</section>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user