Prepare to use MQ messaging

Before you can use MQ messaging, you must install and configure (WMQ) and configure your database server for use with WMQ.

The database server comes with a server-based messaging library and a client-based messaging library. The server-based messaging library is default option.

To use MQ messaging, you perform these tasks:

  1. Decide whether to use the server-based MQ messaging or client-based messaging library.
  2. Install WMQ HCL OneDB™ and set up the queue manager, queues, and channels.

    When you use the server-based messaging library, the database server connects to the queue manager that resides on the same computer. Therefore, you must install HCL OneDB and the WMQ Server on the same computer.

    When you use the client-based messaging library, the database server uses a network protocol to connect to the queue manager anywhere on the network. You must install the database server and the WMQ Client on the same computer. You can install the WMQ server on the same computer or on different computers on the network. If you plan to use local queue managers, you must install the database server and WMQ on the same computer. See WebSphere® MQ documentation for installation details.

  3. Verify that MQ messaging is working correctly.
  4. Use MQ functions or tables in your application.

If you configure your system to use both server-based and client-based MQ messaging on your database server, you can switch between the two methods of messaging. You cannot use both methods at the same time on a database server instance