+

Search Tips | Advanced Search

Create the queue manager


Before starting

Before creating a queue manager, we must ensure that IBM MQ is correctly installed.


About this task

This topic shows how to create a queue manager called QM_APPLE.You can perform this task using either of the following interfaces:

Parent topic: Tutorial 1: Sending a message to a local queue Next topic: Create the local queue


Create the queue manager using IBM MQ Explorer


Procedure

  1. Start IBM MQ Explorer.
  2. In the Navigator view, right-click the Queue Managers folder, then click New > Queue Manager. The Create Queue Manager wizard opens.
  3. In the Queue Manager name field, type QM_APPLE.
  4. Click Next twice.
  5. Ensure that Automatic is selected from the Select type of queue manager startup option.
  6. Click Next.
  7. Ensure that the Create listener configured for TCP/IP check box is selected.
  8. If the Finish button is not available, type another port number in the Listen on port number field. If the current value is 1414, try using a different port number, for example: 1415 or 1416. If the default port number of 1414 is not used at this stage, make a note of the port number used because we will need it in later stages of this tutorial when QM_APPLE serves as a receiving queue manager.
  9. Click Finish.


Results

An icon representing this queue manager is displayed in the Queue Managers folder in the Navigator view of IBM MQ Explorer, and the queue manager automatically starts running after you create it, as shown in the following screen capture:


Create the queue manager using MQSC

About this task

Open a command prompt, and follow these steps:

Procedure

  1. Create a queue manager called QM_APPLE by typing the command:
    crtmqm QM_APPLE
    Messages tell you that the queue has been created and that the default IBM MQ objects have been created.
  2. Start this queue manager by typing the command:
    strmqm
    A message tells you when the queue manager has started.

Results

We have now created a queue manager with the name QM_APPLE.

Last updated: 2020-10-04