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 type Conversion
Bytes message ByteArrayOutputStream.toByteArray();
Object message <serialized object>.toByteArray();
Text message String.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.


Terms of use | WebSphere software

(c) Copyright IBM Corporation 2004, 2005. All rights reserved.