NonStop JMS C++ API Programmer's Guide

NSJMS C++ API Classes and Methods
NonStop Server for Java Message Service C++ API Programmer’s Guide526459-002
4-3
Message Class
Message Class
The Message class is the base class of all message classes.
setLong
Set a long value with the given name, into the Map.
setShort
Set a short value with the given name, into the Map.
setString
Set a string value with the given name, into the Map.
Message Methods Description (page 1 of 2)
clearProperties
Clears the message’s header fields and properties, the body is not
cleared.
getBooleanProperty
Returns the value of the boolean property with the specified name.
getByteProperty
Returns the value of the byte property with the specified name.
getBytesProperty
Returns the value of the byte-array property with the specified
name.
getDoubleProperty
Returns the value of the double property with the specified name.
getFloatProperty
Returns the value of the float property with the specified name.
getIntProperty
Returns the value of the integer property with the specified name.
getJMSCorrelationID
Gets the correlation ID for the message.
getJMSDeliveryMode
Gets the delivery mode value specified for this message.
getJMSDestination
Gets the destination object for the message.
getJMSExpiration
Gets the expiration value for the message.
getJMSMessageID
Gets the message ID for the message.
getJMSPriority
Gets the priority level for the message.
getJMSReplyTo
Gets the destination object to which a reply to this message
should be sent.
getJMSTimestamp
Gets the timestamp for the message.
getJMSType
Gets the message type identifier supplied by a client when a
message is sent.
getLongProperty
Returns the value of the long property with the specified name.
getShortProperty
Returns the value of the short property with the specified name.
getStringProperty
Returns the value of the string property with the specified name.
propertyExists
Indicates whether a property value exists for the message.
setBooleanProperty
Sets a boolean property value with the specified name into the
message.
setByteProperty
Sets a byte property value with the specified name into the
message.
MapMessage Methods Description (page 2 of 2)