JMS messages
The JMS session acts as factory for JMS messages.
The elements that make up a JMS message are:
Headers Identifies and routes messages. Properties Application-defined property values. Body
JMS interface children enable various types of data to be placed into the body of the message...
Message type Message body BytesMessage A stream of uninterpreted bytes. For literally encoding a body to match an existing message format. MapMessage A set of name-value pairs, where names are strings and values are Java primitive types. The entries can be accessed sequentially or randomly by name. The order of the entries is undefined. ObjectMessage A message that contains a serializable Java object. StreamMessage A stream of Java primitive values. It is filled and read sequentially. TextMessage A message containing a java.lang.String.