When the ES_XA_%xaname%_OPTIONS environment variable specifies an RM and a wait time, each time a transaction is about to be executed an xa-ping is attempted. If it fails the XA reconnect processing will loop on the xa-close, xa-open, and xa-ping. Waiting a specified duration, in seconds, before repeating until the xa-ping receives a return code of 0. If at the end of the loops, the connection has not been re-established, the RM will be disabled and a severe error will be sent to the console to indicate that the RM has been disabled.
To re-enable the target RM, Dynamic XA should be used. Dynamic XA provides the ability to disable and re-enable an XA RM during the life of a region.
You might need to set ES_XA_%xaname%_OPTIONS multiple times — once for each RM that you require to operate in a multiple-attempt mode.
ES_XA_%xaname%_OPTIONS={reconnect_attempts,wait-time|EX}
Default: | None |
ES_XA_MQPROD_OPTIONS=100,10
Specify that the XA reconnect processing is to exclude MQPROD from the XA reconnect processing:
ES_XA_MQPROD_OPTIONS=EX