Try OpenEdge Now
Messaging and ESB
ABL - JMS API Reference
:
setByte procedure
setByte procedure
Converts data in a
MapMessage
to the JMS
byte
data type.
Syntax
PROCEDURE setByte.
DEFINE INPUT PARAMETER
itemName
AS CHARACTER.
DEFINE INPUT PARAMETER
value
AS INTEGER.
Applies to
Message objects
Notes
Byte values range from –128 to 127.
The server returns a
NumberFormatException
message for a value overflow. For example, calling
setByte("item1", 1000)
results in a value overflow.
See also
createMapMessage procedure
,
setBoolean procedure
,
setByte procedure
,
setBytesFromRaw procedure
,
setChar procedure
,
setDate procedure
,
setDateTime procedure
,
setDateTime-TZ procedure
,
setDouble procedure
,
setFloat procedure
,
setInt procedure
,
setLong procedure
,
setLongString procedure
,
setShort procedure
,
setString procedure
,
getMapNames function
,
getItemType function
,
getBytesToRaw function
,
getChar function
,
getDate function
,
getDateTime function
,
getDateTime-TZ function
,
getDecimal function
,
getInt function
,
getLogical function
,
getLongString function
,
getLongStringCP function
For more information, see the MapMessage.