writeString method

Syntax
void QABinaryMessage.writeString(
  String val
)
throws QAException
Parameters
  • val   The string value to write to the message body.

Throws
  • Thrown if there is a problem appending the string value to the message body.

Remarks

Appends a string value to the QABinaryMessage instance's message body.

Note: The receiving application needs to invoke QABinaryMessage.readString for each writeString invocation.

Note: The UTF-8 representation of the string to be written can be at most 32767 bytes.

See Also

readString method