Home

 

Dead-letter queues

 

Messages that cannot be delivered for some reason are placed on the dead-letter queue. We can check whether the queue contains any messages by issuing the MQSC command DISPLAY QUEUE. If the queue contains messages, use the provided browse sample application (amqsbcg) to browse messages on the queue using the MQGET call. The sample application steps through all the messages on a named queue for a named queue manager, displaying both the message descriptor and the message context fields for each message. See Browsing queues for more information about running this sample and about the kind of output it produces.

You must decide how to dispose of any messages found on the dead-letter queue, depending on the reasons for the messages being put on the queue.

Problems might occur if you do not associate a dead-letter queue with each queue manager. For more information about dead-letter queues, see The WebSphere MQ dead-letter queue handler.

 

Parent topic:

Problem determination


fa15250_


 

Home