Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 » QAnywhere » QAnywhere reference » Message headers and properties » Message properties

 

Custom message properties

QAnywhere allows you to define message properties using the C++, Java, or .NET APIs. Custom message properties allow you to create name-value pairs that you associate with an object. For example:

msg.SetStringProperty("Product", "widget");
msg.SetFloatProperty("Price",1.00);
msg.SetIntProperty("Quantity",10);

Message property names are case insensitive. You can use a sequence of letters, digits and underscores, but the first character must be a letter. The following names are reserved and may not be used as message property names: