Put a message to the queue LQ1

Put a message on to the queue LQ1 by using the IBM MQ Explorer.


This task assumes that we have already created a queue manager called QM1 as described in Create a queue manager called QM1 and a queue called LQ1 as described in Create a queue called LQ1.

To put a message to the queue by using the IBM MQ Explorer, complete the following steps.


Procedure

  1. In the Navigator view, expand the Queue Managers folder.
  2. Expand queue manager QM1, which you created.
  3. Click the Queues folder. The queue manager's queues are listed in the Content view.
  4. In the Content view, right-click the local queue LQ1, then click Put Test Message... The Put test message dialog opens.
  5. In the Message data field, type some text, for example Hello World, then click Put message. The Message data field is cleared and the message is put on the queue.
  6. Click Close. In the Content view, notice that the LQ1 Current queue depth value is now 1. If the Current queue depth column is not visible, you might need to scroll to the right of the Content View.


What to do next

To get a message from the queue, see Getting a message from the queue LQ1.

Parent topic: Installing and configuring using the graphical user interface