setMessageProperty

setMessageProperty(propname: String;
                   value:    Any);

The setMessageProperty method of the JadeGenericMessage class sets the user property of the receiver specified in the propname parameter to the value specified in the value parameter. User properties are currently only supported on JadeMQ messages. They are primitive type 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.

If the property specified in the propname parameter is invalid, an exception is raised.