report

 

public int

A report message about another message. This field enables the application sending the original message to specify which report messages are required, whether the application message data is to be included in them, and also how the message and correlation ID in the report or reply are to be set. It comprises one or more constants from the MQC class combined by means of the '+' or '|' operators. We can select one type from each row of the following table:

basic

with data

with full data

Exception

MQC.MQRO_EXCEPTION

MQC.MQRO_EXCEPTION_WITH_DATA

MQC.MQRO_EXCEPTION_WITH_FULL_DATA

Expiration

MQC.MQRO_EXPIRATION

MQC.MQRO_EXPIRATION_WITH_DATA

MQC.MQRO_EXPIRATION_WITH_FULL_DATA

Confirm on arrival

MQC.MQRO_COA

MQC.MQRO_COA_WITH_DATA

MQC.MQRO_COA_WITH_FULL_DATA

Confirm on delivery

MQC.MQRO_COD

MQC.MQRO_COD_WITH_DATA

MQC.MQRO_COD_WITH_FULL_DATA

We can specify how the message ID is generated for the report or reply message:

We can specify one of the following to control how to set the correlation ID of the report or reply message:

We can specify the following to pass the discard option and expiry time of the original message to the report or reply message:

We can specify one of the following to control the disposition of the original message when it cannot be delivered to the destination queue:

If no report options are specified, the default is MQC.MQRO_NEW_MSG_ID | MQC.MQRO_COPY_MSG_ID_TO_CORREL_ID | MQC.MQRO_DEAD_LETTER_Q .


uj13590_