An XMS application can create and use its own set of message properties. When an application sends a message, these properties are also transmitted with the message. A receiving application, using message selectors, can then select which messages it wants to receive based on the values of these properties.
To allow a WebSphere JMS application to select and process messages sent by an XMS application, the name of an application-defined property must conform to the rules for forming identifiers in message selector expressions, as documented in WebSphere MQ Using Java. The value of an application-defined property must have one of the following data types: xmsBOOL, xmsSBYTE, xmsSHORT, xmsINT, xmsLONG, xmsFLOAT, xmsDOUBLE, or String (or character array, if you are using the C interface).