JmsMessage.type

Enum JmsMessageType(TEXT,OBJECT,BYTES,MAP,STREAM)

Returns the message body type, that is, the type of the payload contained in this message.