Setting up the MQ client
You can install and configure the MQ client to test the integration between Sterling™ Order Management System and your external system.
Procedure
-
Download and install the MQ client on an external system.
- Go to https://www-945.ibm.com/support/fixcentral/ and enter or select the product name as IBM MQ.
- Select the latest version of the MQ client.
- Select the platform based on where you want to install the client.
- Click Continue to proceed. Once you reach the search results page, download the appropriate file for your platform. For example, 8.0.0.7-WS-MQC-Win64 is for a Windows 64-bit machine.
- Obtain the MQ self signed SSL certificate from IBM Cloud Dropbox or SI DEV Team BOX area.
- Install the certificate into trusted keystore for MQ client. Using the
iKeymanutility that is installed as part of MQ Client, createkey.dband install the certificate. - Configure the MQ client in the following manner:
- Create a channel definition. (generates the
AMQCLCHL.TABfile)- On Linux or Unix:
Runcd <MQ_Client_Installation_Path>/binOn Windows:
Runcd <MQ_Client_Installation_Path>\bin - On Linux or Unix:
Run./runmqsc -nOn Windows:
Runrunmqsc -n - Run the following command to create the channel definition.
DEFINE CHANNEL(SYSTEM.SSL.SVRCONN) CHLTYPE(CLNTCONN) TRPTYPE(TCP) CONNAME(‘<cust>-oms.<env>.coc.ibmcloud.com(1415)’) QMNAME(OM_QMGR) SSLCIPH(TLS_RSA_WITH_AES_128_CBC_SHA256) - Locate the generated
AMQCLCHL.TABfile on the client machine. - Set the following environment variables for MQ
client:
set MQCHLTAB = AMQCLCHL.TAB set MQCHLLIB = <path of AMQCLCHL.TAB> set MQSSLKEYR = <path of the key repository that holds the digital certificate>\key
- On Linux or Unix:
- Create a channel definition. (generates the