JadeGenericMessage Class

The transient JadeGenericMessage class encapsulates the behavior required to build the content of a message before it is sent and to examine the content and properties of a message after it is received.

The behavior of creating a message, adding a message to a queue, and retrieving a message from a queue is provided by the createMessage, getMessage, and putMessage methods, respectively, in the JadeGenericQueue class.

The message body (often referred to as the payload) is a variable-length binary whose content and format is user-defined. The message body can be considered as just another property of the message.

The message header is a series of properties that provide out-of-band data about the payload; for example, the creation timestamp, sender details, encoding, message type, and reply details.

For details about the use of the JADE messaging framework, see Chapter 15, "Using the Messaging Framework", in the JADE Developer’s Reference.

For details about the constants, properties, and methods defined in the JadeGenericMessage class, see "JadeGenericMessage Class Constants", "JadeGenericMessage Properties", and "JadeGenericMessage Methods", in the following subsections. For details about passing variable parameters to methods, see "Passing Variable Parameters to Methods", in Chapter 1 of the JADE Developer’s Reference.

Object

(None)