WebSphere Message Broker, Version 8.0.0.7
Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS
See information about the latest product version
See information about the latest product version
Debug: getting a test message from an output queue
You can get a message from an output queue to test a message flow that you are debugging.
Before you start
Completed the following tasks:
If your message flow includes MQInput and MQOutput nodes, you can test the flow by putting a message on the input queue of your first MQInput node and retrieving it from an MQOutput node.
You can use the command line interfaces or WebSphere MQ Explorer to get a message from an output queue.
You can also use the Test Client as a repeatable alternative. To use the Test Client, complete the following steps:
- Switch to the Broker Application Development perspective.
- Click The .New dialog opens.
- Expand Message Broker - Application Development, select Message Broker Test Client, and click Next. The wizard opens and displays its first panel.
- Select the project in which you want to create the Test Client file.
- Enter a name for the Test Client file and click Finish. The Test Client editor opens.
- On the toolbar at the upper right of the Test
Client editor, under Message
Flow Test Events, click the Get a message from
a Queue icon
.
- Under Detailed Properties, enter the name of the queue manager and output node queue.
- Click Get Message to read a message from the queue.
When a message is available on an output queue, you can see it in the Test Client editor.