Method
bool GetBooleanProperty(string name); byte GetByteProperty(string name); short GetShortProperty(string name); int GetIntProperty(string name); long GetLongProperty(string name); float GetFloatProperty(string name); double GetDoubleProperty(string name); string GetStringProperty(string name); Object GetObjectProperty(string name);
Get the value of a message property.
Parameter
|
Description
|
---|---|
name
|
Get the 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. |
The JMS specification defines eight methods to get properties with different value typesconverting between compatible types. It also defines a ninth method to get values of the eight primitive types as if they were objects. All nine of these methods convert property values to the corresponding type (if possible).
When the message does not have a property set for the name, these rules apply:
false
.EMSException
.
TIBCO Enterprise Message Service™ .NET Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |