24.3. Methods

The MapMessage interface inherits the fields and the methods of the interface javax.jms.Message. The following methods are defined in the interface javax.jms.MapMessage.

getBoolean

public boolean getBoolean(java.lang.String name)

Returns the boolean value with the specified name.

PARAMETERS:

name the name of the boolean

RETURNS:

the boolean value with the specified name

THROWS:

JMSException if the JMS provider fails to read the message due to some internal error
MessageFormatException if this type conversion is invalid

getByte

public byte getByte(java.lang.String name)

Returns the byte value with the specified name.

PARAMETERS:

name the name of the byte

RETURNS:

the byte value with the specified name

THROWS:

JMSException if the JMS ...

Get Java™ Message Service API Tutorial and Reference: Messaging for the J2EE™ Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.