JMS messages contain two parts, including headers and a payload.
The headers provide metadata about the message used by both clients and JMS
providers. The payload is the actual body of the message and can hold both textual
and binary data via the various message types.ide