MDREAD

This property determines whether a JMS application can extract the values of MQMD fields.


Applicable Objects

JMS administration tool long name: MDREAD

JMS administration tool short name: MDR


Programmatic access

Setters/getters

  • MQDestination.setMQMDReadEnabled()
  • MQDestination.getMQMDReadEnabled()


Values

    NO
    When sending messages, the JMS_IBM_MQMD* properties on a sent message are not updated to reflect the updated field values in the MQMD. When receiving messages, none of the JMS_IBM_MQMD* properties are available on a received message, even if the sender had set some or all of them. This is the default value for administrative tools.
    For programs, use False.

    Yes
    When sending messages, all of the JMS_IBM_MQMD* properties on a sent message are updated to reflect the updated field values in the MQMD, including the properties that the sender did not set explicitly. When receiving messages, all of the JMS_IBM_MQMD* properties are available on a received message, including the properties that the sender did not set explicitly.
    For programs, use True.

Parent topic: Properties of IBM MQ classes for JMS objects