Java CAPS JMS Reference

retrieveBytesFromMessage()

Description

Returns the byte array corresponding to the payload of the message object.

Parameters

None.

Return Value

Returns 

Type 

The byte array corresponding to the payload of the message object. 

byte[]

Exceptions

Throws JMSException if conversion is not possible, for example, if the method cannot convert from a map message to a byte array.