getMessageProperty

getMessageProperty(propname: String;
                   value:    Any output): Boolean;

The getMessageProperty method of the JadeGenericMessage class returns the value of the user property specified in the propname parameter. User properties are currently only supported on JadeMQ messages. They are primitive values that are bundled with the message but are not part of the body. The name must begin with an uppercase X or a lowercase x character.

The result is returned through the value output parameter, which is of type Any. If the property name is invalid, an exception is raised.

An exception is raised if the type of the variable passed as the value parameter does not match the type of the property. A variable of type Any is compatible with all property values.