Putting a test message on a queue

We can use a test message to verify whether an application or a queue manager can put a message on a queue.


To put a test message on a queue, complete the following steps.


Procedure

  1. In the Navigator view, click the Queues folder that contains the queue. The queue is displayed in the Content view.
  2. In the Content view, right-click the queue, then click Put Test Message... The Put Test Message dialog opens.
  3. In the Message data field, type some sample message data. For example, type This is a test message.
  4. Click Put Message. The message is put on the queue.
  5. Click Close to close the Put Test Message dialog.


Results

In the Content view, the value in the Current queue depth column for the queue is incremented by one. If the value has not changed, click Refresh on the Content view toolbar.