| JUMPMessage encapsulates the message header (envelope
information) and the message payload. The message payload is an array
of bytes.
The message is composed at a data offset determined by the OS. (obtained
from JUMPMessageQueueInterface.getDataOffset() )
The message header consists of the following information
- Message ID - A unique identifier for the message
- Response Message ID - The message ID for which the message is a
response.
JUMPMessage.isResponseMessage() indicates if a message is
a response or not
- Sender - The sender of the message. If there are any responses to
be sent, the sender's outhoing queue is used to send it.
The sender is
com.sun.jump.message.JUMPMessagable
- Message Type - An arbitrary string that identifies the message. This
is typically used to tag or classify the message
Instances of JUMPMessage are manufactured from factories
conforming to
com.sun.jump.message.JUMPMessagingService
|