Message properties can add more envelope information about a message. The number of header fields is fixed, but properties are flexible. An application can add any number of property name-and-value pairs. The following table lists the methods to access message properties.

Table 1. Accessing message properties
Setting message properties Getting message properties
setBooleanProperty procedure setByteProperty procedure setDateProperty procedure setDateTimeProperty procedure setDateTimeTzProperty procedure setDoubleProperty procedure setFloatProperty procedure setIntProperty procedure setInt64Property procedure setLongProperty procedure setShortProperty procedure setStringProperty procedure clearProperties procedure getCharProperty function getDateProperty function getDateTimeProperty function getDateTimeTzProperty function getDecimalProperty function getIntProperty function getInt64Property function getLogicalProperty function getPropertyType function ggetPropertyNames function

The requesting application clears the properties of a message (keeps header and body values unchanged) using clearProperties procedure.