MQSeries Programming Patterns
by Mark Perry, Manesh Balachandran, Jorge Plata, Paul Solano, Phillip Thomas
8.3. JMS messages
JMS provides different message types. Each contains some information about its content.
The message types defined in JMS are:
BytesMessage
MapMessage
ObjectMessage
StreamMessage
TextMessage
JMS messages are comprised of three parts:
Header
Header fields contain information used by the provider for routing and identifying the messages, as well as information that can used by the client.
Properties
In addition to the fields in the header, JMS messages provide a facility for adding optional header fields to a message. These properties can be categorized as:
- Application-specific properties, which are used by clients to add processing-specific information for clients processing the messages
- Standard properties, which are JMS-specific ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access