The task shows steps to test an IBM® MQ listener
notification.
Before you begin
To test whether the listener is working as expected, can ensure both the listener, and the
listener notification are enabled.
About this task
Each listener notification is linked to a specific flow service that you set up when adding the
listener notification on the Execution Mode page. The listener receives the
message from the topic and forwards it to the listener notification, which then directs it to the
configured flow service. The message is transmitted through a document to the flow service.
Procedure
-
Go to the Flow Service for which you want to test and click the
View/Edit Pipeline icon. The pipeline variable page is
displayed.
- Click Add Pipeline Variable.
- Provide details in the Pipeline Input page.
- In the Name field, specify the name that was mentioned to the doc
reference name when creating a listener notification.
- In the Type field, select the document reference.
- Select the Document reference option.
The signature includes all the available listener notification documents. Each notification
generates two documents, one for the request and another for the reply. By selecting the request
document, you can view its structure and understand how the message is transmitted.
- Map the fields as required for further processing.
- When the notification is successfully processed, the associated flow service is
run.
What to do next
Go to the Monitor tab to check the flow service execution and the
output. It displays whether the message is consumed and processed successfully.