Returns the byte array corresponding to the message payload, with the encoding as specified by arg0.
Name |
Type |
Description |
---|---|---|
arg0 |
java.lang.String |
The encoding to use when converting to a byte array. |
Returns |
Type |
---|---|
The byte array corresponding to the message payload, with the specified encoding. |
|
Throws JMSException if conversion is not possible, for example, if the method cannot convert from a map message to a byte array.
Throws UnsupportedEnclodingException if the name charset is not supported.