2.4.3 Building Single-Threaded and Multi-Threaded TM_MQI

The single-threaded TM_MQI configuration and behavior remain the same as earlier releases. To build the single-threaded TM_MQI, neither $TUXDIR/udataobj/RM nor buildmqadapter and buildTM_MQI command line options need to be changed.

For multi-threaded TM_MQI, we provide special configuration for the command line options as well as the RM file. In the command line, an additional option "-t" is added for buildmqadapter and buildTM_MQI, to generate new multi-threaded TM_MQI. You can build multi-threaded TM_MQI using one of the following commands:

buildmqadapter -t -v
buildTM_MQI -t -v -o $TUXDIR/bin/TM_MQI

You need to change the $TUXDIR/udataobj/RM file by adding the link to MQ threaded library. For example, on Linux x64, the configuration is:

# WebSphere MQ
MQSeries_XA_RMI:MQRMIXASwitchDynamic: -L${MQMDIR}/lib64 -lmqmxa_r -lmqm_r

Administrators should review this information to confirm its correctness.