64 Enabling SOA Using WebSphere Messaging
4.1 Introduction to messaging
A message is a collection of data sent by one program and intended for another
one. A message consists of the message payload and the message header
containing technical fields like message ID, correlation ID, and reply address. A
message queue, known simply as a queue, is a named destination to which
messages can be sent. Messages accumulate on queues until they are retrieved
by programs that service those queues.
Messaging applications communicate by sending each other data in messages
rather than calling each other directly. Applications can open a queue, put
messages on it, get messages from it, and close the queue. They can also set
and inquire about the attributes ...