WebSphere MQ Adapter 6.5 | webMethods WebSphere MQ Adapter Documentation | webMethods WebSphere MQ Adapter Installation and User’s Guide Documentation | About the WebSphere MQ Adapter | Overview of Queuing Concepts | Messages
Messages in a Group
Messages in a Segment
Undeliverable Message Processing
A message is a discrete unit of information that one program wants to pass to another. The following examples are possible message types:
*A string containing a purchase order
*A binary data structure containing an employee record
*A blob containing a graphic image
The Queue Manager does not impose any constraints on the content or format of messages exchanged via a queue, and neither does WebSphere MQ Adapter.
When a program puts a message into a queue, the client envelops or wraps the message with control information such as routing information, priority codes, and message type. The term message can also refer to the entire message structure; that is, the control information plus the unit of information to be passed. In this context, the unit of information is usually referred to as the payload, the application data, or the user data. When this distinction is necessary, this book uses the term payload to refer to the content of the message.
To use queuing effectively, programs that communicate via a queue must agree on a common message content and structure. For example, if Program A is designed to pick up and process cXML-formatted purchase orders from a queue named Orders, programs that interact with Program A must deliver properly-formatted cXML purchase orders to the Orders queue. Identifying the content and structure of the payload is a key activity you must perform when designing a system that exchanges data through WebSphere MQ Adapter.