JMS message body

Regardless of the JMS message type, MQe stores the JMS message body internally as an array of bytes. For the currently supported message types, this byte array is created as follows:
Table 1. JMS message body
JMS message typeConversion
Bytes messageByteArrayOutputStream.toByteArray();
Object message<serialized object>.toByteArray();
Text messageString.getBytes("UTF-8");

When the JMS message body is stored in an MQeMsgObject, this byte array is added directly to the MQeMsgObject with the name MQe.MQe_JMS_BODY.

Parent topic: JMS properties