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 ...
Get MQSeries Programming Patterns now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.