Links may not function; however, this content may be relevant to outdated versions of the product.
How to debug MQ connectors using BROWSE, PUT and GET message operations
Summary
In the process of constructing an MQ connection, it can be beneficial to put and remove items into the queue. This ability enhances the development and debugging of integration services.
The three components of an MQ service—the Connect MQ rule, MQ Server, and MQ listener—all have the ability to put and remove queue items from both the request and response queues.
Suggested Approach
Depending on which rule form you are viewing, access to the request or response queue will differ.
The Connect MQ form
On the Connect MQ rule form, on the Service tab click the magnifying glass icon next to either the Request Queue Name field or the Response Queue Name field, depending on which queue you'd like to view.
The MQ Listener form
On the MQ Listener form, on the MQ Properties tab, click the magnifying glass icon next to the Queue Name field in the Request or Reply to group.
The MQ Server form
On the MQ Server form, on the Environment tab, click MQ Explorer.
The MQ Explorer
If the MQ Explorer is opened from an MQ Server instance, you will be prompted to enter the Queue Manager and Queue Name you would like to browse, put messages to, or delete messages from.
If you opened the MQ Explorer from an MQ Listener or Connect MQ form, the queue specified in the form will automatically be used.
To put a message on the queue, click Put Messages.
You have the option of completing the Message Header fields as well as adding content to the message body. Click Submit to add the message to the queue.
Once the message is in the queue, click it for a more detailed view. To delete a message select the check box on the left side of the row and click Remove Messages.