Configuring a queue manager by using the WebSphere® MQ Explorer

You can use the IBM® WebSphere® MQ Explorer and configure a queue manager to use the API exit files.

About this task

To configure a queue manager using the WebSphere® MQ Explorer:

Procedure

  1. Open WebSphere® MQ Explorer.
    Note: WebSphere® MQ Explorer must be running on the server that is hosting the queue manager because it is not possible to configure API Exits remotely.
  2. On the MQ Explorer Navigation window, right-click the relevant queue manager and click Properties on the menu.

    A Properties dialog is displayed.

  3. Click Exits on the navigation pane of the Properties dialog.

    The Exits page is displayed.

  4. On the Exits page, click Add.

    The Add API exit dialog is displayed.

  5. In the Name field, enter Intercept.
  6. In the Function field, enter EntryPoint.
  7. Under the Module field, click Browse and navigate to the appropriate directory. Select the appropriate file and click Open.
    Note: For 64-bit Linux, enter intercept. (You do not need to enter the full path to the API exit File.) Refer to Deploying HCL OneTest API API agents.
  8. Select the Data check box.
  9. In the Data field, enter com.greenhat.intercept.
    Note: The Sequence number box is not relevant to HCL OneTest API.
  10. Click OK to close the Add API exit dialog.
  11. On the Exits page, click Apply.
  12. Click OK to close the Properties dialog.
  13. On the MQ Explorer Navigation window, restart the queue manager.
    The specified API exit file is deployed on the specified queue manager.
    Note: Ensure that the command server is running on the queue manager since HCL OneTest API sends commands to the queue manager and controls the exits.