Retrieving further activity reports
If the activity reports related to a message have been retrieved from the
reply-to queue that the message specified, but the necessary information has
not been determined, then further activity reports might be available. To
determine the locations of any further activity reports, do the following:
- If there are any queue managers in the queue manager network that deliver
activity reports to a common queue, do the following. For information on using
a common queue, see Using a common queue for activity reports.
- Retrieve any activity reports from the common queue that have a CorrelId that matches the MsgId of the original message.
- If there are any queue managers in the queue manager network that do not
deliver activity reports to a common queue, do the following:
- By studying the existing activity reports, identify queue managers that
the message was routed through.
- From these queue managers, identify the queue managers that are enabled
for activity recording.
- From these queue managers, identify any that did not return activity reports
to the specified reply-to queue.
- From each of the identified queue managers, 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 no activity reports are found on the system queue, check the
queue manager dead letter queue if one exists.
Note:
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.
Once ordered the
route, or partial route, that the message took is represented by the order
of the activity reports.
- Study the activity information from the ordered activity reports, and
try to determine the information you need.
There are certain circumstances where recorded activity information cannot
reach the specified reply-to queue, a common queue, or a system queue. For
more information, see Circumstances where activity information is not acquired.