Automatic IBM MQ Client reconnection through XMS
Configure your XMS client to reconnect automatically following a network, queue manager, or server failure while using IBM WebSphere MQ Version 7.1 client and later, as the message provider.
Use the WMQ_CONNECTION_NAME_LIST and WMQ_CLIENT_RECONNECT_OPTIONS properties of the MQConnectionFactory class to configure a client connection to automatically reconnect. Automatic client reconnection reconnects a client after a connection failure, or as an option after stopping the queue manager. The design of some client applications makes them unsuitable for automatic reconnection.
Automatically reconnectable client connections become reconnectable once the connection is established.Note: The properties Client Reconnect Options, Client Reconnect Timeout, and Connection Namelist can also be set via Client Channel Definitions Table (CCDT) or by enabling the client reconnection via the mqclient.ini file. Note: If reconnection properties are set on the ConnectionFactory object and as well as in the CCDT, the precedence rule is as follows. If the default value of the connection name list property is set in the ConnectionFactory object, then the CCDT takes precedence. If the connection name list is not set to its default value, the property values set in the ConnectionFactory object take precedence. The default value of the connection namelist is localhost(1414). Parent topic: Writing XMS applications