Oracle GlassFish Message Queue 4.4.2 Developer's Guide for Java Clients

Message Body

The actual content of a message is contained in the message body. JMS defines six classes (or types) of message, each with a different body format:

Each of these is a subinterface of the generic Message interface, extended with additional methods specific to the particular message type.