Log Information for the Graceful Node Shutdown Feature
Logging Details
The following are log entries in the Runtime Node log files:
23 Nov 2015 15:47:53,695 [ComponentFrameworkDelegate] [INFO ] [com.tibco.amx.platform] com.tibco.amx.bt.soap - Graceful Node shutdown feature is disabled.
This log entry is emitted on the node startup, when the Graceful Node Shutdown feature is not enabled through TRA properties for the Runtime node.
23 Nov 2015 15:51:53,804 [ComponentFrameworkDelegate] [INFO ] [] com.tibco.amx.bt.soap - Graceful Node shutdown feature is enabled with timeout 10 minutes and polling interval 30 seconds.
This log entry is emitted on the startup, when the Graceful Node Shutdown feature is enabled.
18 Nov 2015 16:30:47,832 [pool-4-thread-1] [INFO ] [com.tibco.amx.platform] com.tibco.amx.bt.soap - Initiating graceful stop for SOAP/JMS Service binding "SOAPService_Binding1" with "1" in-flight messages. ApplicationName=jms.binding.helloworld.soa ComponentURI=urn:amx:DevEnvironment/jms.binding.helloworld.soa/HelloWorldComponent_1.0.0.v2015-11-18-1628_inbound_service_HelloWorldService/HelloWorld_SOAPService_Binding1 NodeName=DevNode
This log entry is emitted for all the SOAP-JMS promoted service bindings, when the node shutdown is called and the Graceful Node Shutdown feature is enabled.
18 Nov 2015 16:30:55,839 [pool-5-thread-1] [INFO ] [com.tibco.amx.platform] com.tibco.amx.bt.soap - Waiting for SOAP/JMS Service binding "SOAPService_Binding1" to process "0" in-flight messages. ApplicationName=jms.binding.helloworld.soa ComponentURI=urn:amx:DevEnvironment/jms.binding.helloworld.soa/HelloWorldComponent_1.0.0.v2015-11-18-1628_inbound_service_HelloWorldService/HelloWorld_SOAPService_Binding1 NodeName=DevNode
This log entry is emitted to show the periodic update of in-flight messages depending upon the polling interval value driven by the TRA property com.tibco.amx.node.graceful.shutdown.pollingIntervalInSec.
18 Nov 2015 16:30:55,846 [pool-4-thread-1] [INFO ] [com.tibco.amx.platform] com.tibco.amx.bt.soap - Gracefully stopped the SOAP/JMS Service binding "SOAPService_Binding1".Remaining In-flight messages were "0". ApplicationName=jms.binding.helloworld.soa ComponentURI=urn:amx:DevEnvironment/jms.binding.helloworld.soa/HelloWorldComponent_1.0.0.v2015-11-18-1628_inbound_service_HelloWorldService/HelloWorld_SOAPService_Binding1 NodeName=DevNode
This log entry is emitted, when all the in-flight messages are successfully processed or a timeout has occurred.