Java CAPS JMS Reference

Return Value

Returns 

Type 

The string corresponding to the message payload, with the specified encoding. 

java.lang.String