+

Search Tips | Advanced Search

Destination property WMQ_MESSAGE_BODY

WMQ_MESSAGE_BODY determines whether a JMS application processes the MQRFH2 of an IBM MQ message as part of the message payload (that is, as part of the JMS message body).

Property Short form Description
WMQ_MESSAGE_BODY MBODY Whether a JMS application processes the MQRFH2 of an IBM MQ message as part of the message payload (that is, as part of the JMS message body).

Property Valid values in administration tool (defaults in bold) Valid values in programs Set method
WMQ_MESSAGE _BODY

  • UNSPECIFIED

    When sending, IBM MQ classes for JMS does or does not generate and include an MQRFH2 header, depending on the value of WMQ_TARGET_CLIENT.

    When receiving, acts as value JMS.

  • JMS

    When sending, IBM MQ classes for JMS automatically generates an MQRFH2 header and includes it in the IBM MQ message.

    When receiving, IBM MQ classes for JMS set the JMS message properties according to values in the MQRFH2 (if present); it does not present the MQRFH2 as part of the JMS message body.

  • MQ

    When sending, IBM MQ classes for JMS does not generate an MQRFH2.

    When receiving, IBM MQ classes for JMS presents the MQRFH2 as part of the JMS message body.

  • WMQ_MESSAGE_ BODY_UNSPECIFIED
  • WMQ_MESSAGE_BODY_JMS
  • WMQ_MESSAGE_BODY_MQ

setMessageBodyStyle
Parent topic: Accessing IBM MQ Message data from an application using IBM MQ classes for JMS

Last updated: 2020-10-04