Sun GlassFish Message Queue 4.4 Developer's Guide for C Clients



A handle to a message whose text body you want to set.


An MQString specifying the message text. The library makes a copy of the message text.

After you obtain the handle to a text message, you can use this handle to define its body with the MQSetTextMessageText() function. You can set its application-defined properties with the MQSetMessageProperties() function, and you can set certain message headers with the MQSetMessageHeaders() function.