Each message contains a built-in facility for supporting application-defined property values. These message properties allow you to implement application-defined message filtering.
Message properties are name-value pairs that you can optionally insert into messages to provide structure. For example, in the .NET API the predefined message property ias_Originator, identified by the constant MessageProperties.ORIGINATOR, provides the message store ID that sent the message. Message properties can be used in transmission rules to determine the suitability of a message for transmission.
There are two types of message property:
Predefined message properties These message properties are always prefixed with ias_ or IAS_.
Custom message properties These are message properties that you defined. You cannot prefix them with ias_ or IAS_.
In either case, you access message store properties using get and set methods and pass the name of the predefined or custom property as the first parameter.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|