+

Search Tips | Advanced Search

Dead-letter queue processing

This information contains general-use programming interface information when using dead-letter queue processing.

Dead-letter queue processing depends on local system requirements, but consider the following things when you draw up the specification:

Your dead-letter queue application must do one or more of the following things:

There are two ways to deal with the messages that we have recovered from the dead-letter queue:
  1. If the message is for a local queue:

    • Carry out any code translations required to extract the application data
    • Carry out code conversions on that data if this is a local function
    • Put the resulting message on the local queue with all the detail of the message descriptor restored
  2. If the message is for a remote queue, put the message on the queue.

For information about how undelivered messages are handled in a distributed queuing environment, see What happens when a message cannot be delivered?.