Java CAPS JMS Reference

retrieveStringFromMessage(arg0)

Description

Returns a string representation of the message payload, with the encoding as specified by arg0.

Parameters

Name 

Type 

Description 

arg0

java.lang.String

The encoding to use when converting to a string object. 

Return Value

Returns 

Type 

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

java.lang.String

Exceptions

Throws JMSException if conversion is not possible.