JadeGenericMessage Methods

The methods defined in the JadeGenericMessage class are summarized in the following table.

Method Description
appendBinary Adds the specified binary information to the end of the message body
appendBodyTuple Adds a tuple (name, type, and value) to the end of the message body
appendString Adds the specified text to the end of the message body
appendStringAsUtf8 Encodes the specified text as UTF8 and adds to the end of the message body
appendStringUtf8 Adds the specified UTF8 text to the end of the message body
getBodyLength Returns the length of the message body in bytes
getBodyTuple Scans the text in the message body for a tuple with the specified name
getMessageProperty Returns the value of the specified property
getTransportName Returns the name of the transport associated with the message
getUtf8bodyAsString Converts the UTF8 encoded text in the message body to a JADE string and returns that value
initializeForGet Initializes an existing message object before retrieving a message from a queue
initializeForPut Initializes an existing message object before building the message and adding it to a queue
setExpiryRelativeToNow Sets a message expiry date and time in the future from a specified value
setMessageProperty Sets a specified property to a specified value