Sun GlassFish Message Queue 4.4 Developer's Guide for C Clients

Message Body Types

JMS specifies six classes (or types) of messages. The C-API supports only three of these types, as described in Table 2–8. If a Message Queue C client expects to receive messages from a Message Queue Java client, it will be unable to process messages whose body types are other than those described in the table. It will also be unable to process messages that are compressed by the Message Queue Java client runtime.

Table 2–8 C-API Message Body Types




A message whose body contains an MQString string, for example an XML message.


A message whose body contains a stream of uninterpreted bytes.


A message consisting of a header and (optional) properties, but no body.