Home

 

Keep Alive

 

In WebSphere MQ for z/OS, if you are using TCP/IP as the transport protocol, we can also specify a value for the KeepAlive Interval channel attribute (KAINT). You are recommended to give the KeepAliveInterval a higher value than the heartbeat interval, and a smaller value than the disconnect value. We can use this attribute to specify a time-out value for each channel. This is described in KeepAlive Interval (KAINT).

In WebSphere MQ for iSeries, UNIX systems, and Windows systems, if you are using TCP as your transport protocol, we can set keepalive=yes. If you specify this option, TCP periodically checks that the other end of the connection is still available, and if it is not, the channel is terminated. This is described in KeepAlive Interval (KAINT).

If you have unreliable channels that are suffering from TCP errors, use of KEEPALIVE will mean that your channels are more likely to recover

We can specify time intervals to control the behavior of the KEEPALIVE option. When you change the time interval, only TCP/IP channels started after the change are affected. The value that you choose for the time interval should be less than the value of the disconnect interval for the channel.

For more information about using the KEEPALIVE option on z/OS, see WebSphere MQ for z/OS Concepts and Planning Guide . For other platforms, see the chapter about setting up communications for your platform in this manual.

 

Parent topic:

Checking that the other end of the channel is still available


ic11300_


 

Home