Used in: cluster-config.
Specifies the action a cluster node should take upon receiving an external shutdown request. External shutdown includes the "kill" command on Unix and "Ctrl-C" on Windows and Unix.
The following table describes the elements you can define within the shutdown-listener element.
Element | Required/Optional | Description |
---|---|---|
<enabled> | Required | Specifies the type of action to take upon an external JVM shutdown.
Legal Values:
Note: For production use, the suggested value is none unless testing has verified that the behavior on external shutdown is exactly what is desired.
|
The content override attribute xml-override can be optionally used to fully or partially override the contents of this element with XML document that is external to the base document.