IBM MQ message handling with the MQI

One way to send and receive IBM MQ messages from Db2 applications is to use the Db2 MQ functions that use MQI.

These MQI-based functions use the services and policies that are defined in two Db2 tables, SYSIBM.MQSERVICE_TABLE and SYSIBM.MQPOLICY_TABLE. These tables are user-managed and are typically created and maintained by a system administrator. Each table contains a row for the default service and policy that are provided by Db2.

The application program does not need know the details of the services and policies that are defined in these tables. The application need only specify which service and policy to use for each message that it sends and receives. The application specifies this information when it calls a Db2 MQ function.