Method
void SetBooleanProperty(string name, bool val); void SetByteProperty(string name, byte val); void SetShortProperty(string name, short val); void SetIntProperty(string name, int val); void SetLongProperty(string name, long val); void SetFloatProperty(string name, float val); void SetDoubleProperty(string name, double val); void SetStringProperty(string name, string val); void SetObjectProperty(string name, Object val);
Set the value of a message property.
Parameter
|
Description
|
---|---|
name
|
Set a property with this name.
Property names must obey the JMS rules for a message selector identifier (see Message Selectors). Property names must not be null, and must not be empty strings. |
val
|
Set the property to this value.
|
The JMS specification defines eight methods to set properties with different primitive value types. It also defines a ninth method to set a property to an object representation of any of the eight primitive types.
TIBCO Enterprise Message Service™ .NET Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |