Valid value |
Meaning |
---|---|
XMSC_WMQ_CLIENT_RECONNECT_ Q_MGR |
This option requests that in case of failure a reconnect to exactly the same Queue Manager is required. |
XMSC_WMQ_CLIENT_ RECONNECT |
This option requests that in case of failure a reconnect is made by the system. Application can reconnect to any of the queue managers specified in the connection name list. |
XMSC_WMQ_CLIENT_RECONNECT_ DISABLED |
By specifying this option, the application cannot be reconnected. This is the default value. |
XMSC_WMQ_CLIENT_RECONNECT_AS_ DEF |
The reconnection option is resolved to its default value. The default value is set in CHANNELS stanza of mqclient.ini file. DefRecon=NO|YES|QMGR|DISABLED The DefRecon attribute enable client programs to automatically reconnect, or to disable the automatic reconnection of a client program that has been written to reconnect automatically. The interpretation of the DefRecon options depends on whether an XMSC_WMQ_CLIENT_RECONNECT_ OPTIONS is also set in the client program, and what value is set. If the client program sets the XMSC_WMQ_CLIENT_RECONNECT_ AS_DEF option on ConnectionFactory, the reconnect value set by DefRecon takes effect. If no reconnect value is set in the program, or by the DefRecon option, the client program is not reconnected automatically. NO : Unless overridden by ConnectionFactory Client Reconnect Options, the client is not reconnected automatically. YES : Unless overridden by ConnectionFactory Client Reconnect Option, the client reconnects automatically. QMGR : Unless overridden by ConnectionFactory Client Reconnect Options, the client reconnects automatically, but only to the same queue manager. This has the same effect as XMSC_WMQ_CLIENT_RECONNECT_ Q_MGR option. DISABLED : Reconnection is disabled, even if requested by the client program using the ConnectionFactory Client Reconnect Options. |