Try OpenEdge Now
skip to main content
Messaging and ESB
ABL - JMS API Reference : getPropertyType function
 

getPropertyType function

Returns the message property's data type.

Syntax

FUNCTION getPropertyType RETURNS CHARACTER (propertyName AS CHARACTER).

Parameter

propertyName
The message property's data type. Possible values are: UNKNOWN, boolean, byte, short, char, int, long, float, double, or string.

Applies to

Message objects

Notes

*If the property was not set in the message, the UNKNOWN is returned.
*Since date-time values are transmitted as String data, the function cannot distinguish them from other strings. The ABL programmer must know the order of properties in the header and call the correct function to interpret date-time values appropriately.

See also

clearPropertiesprocedure
For more information, see the Accessing message properties.