Retrieving further activity reports
To determine a message route, sufficient information must be available from the activity reports collected. If you retrieve the activity reports related to a message from the reply-to queue that the message specified, but you not have the necessary information, look for further activity reports.
About this task
To determine the locations of any further activity reports, perform the following steps:
Procedure
- For any queue managers in the queue manager network that deliver activity reports to a common queue, retrieve activity reports from the common queue that have a CorrelId that matches the MsgId of the original message.
- For any queue managers in the queue manager network that do not deliver activity reports to a common queue, retrieve activity reports as follows:
- Examine the existing activity reports to identify queue managers through which the message was routed.
- For these queue managers, identify the queue managers that are enabled for activity recording.
- For these queue managers, identify any that did not return activity reports to the specified reply-to queue.
- For each of the queue managers that you identify, check the system queue SYSTEM.ADMIN.ACTIVITY.QUEUE and retrieve any activity reports that have a CorrelId that matches the MsgId of the original message.
- If you find no activity reports on the system queue, check the queue manager dead letter queue, if one exists. An activity report can only be delivered to a dead letter queue if the report option, MQRO_DEAD_LETTER_Q, is set.
- Arrange all the acquired activity reports in order. The order of the activity reports then represents the route, or partial route, that the message took.
- Obtain the information you need from the activity information in the ordered activity reports. In some circumstances, recorded activity information cannot reach the specified reply-to queue, a common queue, or a system queue.