This topic describes the support provided by the SIMessage interface and the mediation configuration selector for user properties.
The SIMessage API also supports user properties of primitive wrapper or string types, and additionally supports byte[] and serializable types. Arbitrary serializable objects are stored as byte arrays, and are selected on as byte arrays only (using equals only).
User properties supported by the SIMessage API must have the prefix user. You can set and access these properties using getMessageProperty, setMessageProperty and deleteMessageProperty.
Alternatively, you can set and access user properties using xxxUserProperty methods. In this case, the prefix user must be omitted. The property name, excluding the prefix user, exists in the same namespace as the JMS user properties.
setStringProperty("color", "green");A mediation can access the property by making one of the following calls:
getMessageProperty("user.color");
getUserProperty("color");