Types of report message
When you put a message on a queue, we can select to receive:
- An exception report message. This is sent in response to a message with the exceptions flag set. It is generated by the message channel agent (MCA) or the application.
- An expiry report message. This indicates that an application attempted to retrieve a message that had reached its expiry threshold; the message is marked to be discarded. This type of report is generated by the queue manager.
- A confirmation of arrival (COA) report message. This indicates that the message has reached its target queue. It is generated by the queue manager.
- A confirmation of delivery (COD) report message. This indicates that the message has been retrieved by a receiving application. It is generated by the queue manager.
- A positive action notification (PAN) report message. This indicates that a request has been successfully serviced (that is, the action requested in the message has been performed successfully). This type of report is generated by the application.
- A negative action notification (NAN) report message. This indicates that a request has not been successfully serviced (that is, the action requested in the message has not been performed successfully). This type of report is generated by the application.
Each type of report message contains one of the following:
- The entire original message
- The first 100 bytes of data in the original message
- No data from the original message
We can request more than one type of report message when you put a message on a queue. If you select the delivery confirmation report message and the exception report message options, in the event that the message fails to be delivered, you receive an exception report message. However, if you select only the delivery confirmation report message option and the message fails to be delivered, you do not get an exception report message.
The report messages that you request, when the criteria for generating a particular message are met, are the only ones that you receive.
Parent topic:
Report messages
fg10630_