Home
HeartbeatInterval (MQLONG)
Time in seconds between heartbeat flows.
The interpretation of this field depends on the channel type, as follows:
- For a channel type of MQCHT_SENDER, MQCHT_SERVER, MQCHT_RECEIVER MQCHT_REQUESTER, MQCHT_CLUSSDR, or MQCHT_CLUSRCVR, this is the time in seconds between heartbeat flows passed from the sending MCA when there are no messages on the transmission queue. This gives the receiving MCA the opportunity to quiesce the channel. To be useful, HeartbeatInterval should be significantly less than DiscInterval.
- For a channel type of MQCHT_CLNTCONN or MQCHT_SVRCONN, this is the time in seconds between heartbeat flows passed from the server MCA when that MCA has issued an MQGET call with the MQGMO_WAIT option on behalf of a client application. This allows the server MCA to handle situations where the client connection fails during an MQGET with MQGMO_WAIT.
The value is in the range 0 through 999 999. The value that is actually used is the larger of the values specified at the sending side and receiving side unless a value of 0 is specified at either side, in which case no heartbeat exchange occurs.
This is an input field to the exit. The field is not present if Vis less than MQCD_VERSION_4.
Parent topic:
Fields
ic18540_
Home