not on queue, message, DISPLAY QUEUE, MQPMO structure" />
Finding messages sent to a cluster queue
Before we can use the techniques described in this chapter to find a message that did not arrive at a cluster queue, we need to determine the queue managers that host the queue to which the message was sent. We can determine this in the following ways:
- We can use the DISPLAY QUEUE command to request information about cluster queues.
- We can use the name of the queue and queue manager that is returned in the MQPMO structure.
If you specified the MQOO_BIND_ON_OPEN option for the message, these fields give the destination of the message. If the message was not bound to a particular queue and queue manager, these fields give the name of the first queue and queue manager to which the message was sent. In this case, this might not be the ultimate destination of the message.