tibemsMsg Type Purpose Messages carry information among EMS client programs. Related Types tibemsBytesMsg, tibemsMapMsg, tibemsObjectMsg, tibemsStreamMsg, tibemsTextMsg Function Description Page Receipt tibemsMsg_Acknowledge Acknowledge messages. 25 Body tibemsMsg_GetBodyType Get the body type of a message. 36 Message Life Cycle tibemsMsg_ClearBody Clear the body of a message. 27 tibemsMsg_ClearProperties Clear the properties of a message. 28 tibemsMsg_Create Create a message object. 29 tibemsMsg_CreateCopy Create a copy of the message object. 30 tibemsMsg_CreateFromBytes Create a message object from data in a byte sequence. 31 tibemsMsg_Destroy Destroy a message. 32 tibemsMsg_MakeWriteable Make a message writeable. 55 tibemsMsg_Recover Recover a single message. 59 Output tibemsMsg_GetAsBytes Get a byte sequence representation of the message object. 33 tibemsMsg_GetAsBytesCopy Copies a byte sequence representation of the message object into storage supplied by the program. 34 tibemsMsg_GetByteSize Computes the size of the byte sequence representation of the message. 37 tibemsMsg_Print Print a message. 56 tibemsMsg_PrintToBuffer Prints a message into a buffer. 57 Headers and Properties For details, see Headers. tibemsMsg_ClearProperties Clear the properties of a message. 28 tibemsMsg_GetCorrelationID Get the correlation ID header of a message. 38 tibemsMsg_GetDeliveryMode Get the delivery mode header from a message. 40 tibemsMsg_GetDeliveryTime Get the delivery time header from a message. 41 tibemsMsg_GetDestination Get the destination header from a message. 42 tibemsMsg_GetEncoding Get the character encoding header from a message. 43 tibemsMsg_GetExpiration Get the expiration header from a message. 44 tibemsMsg_GetMessageID Get the message ID header from a message. 45 tibemsMsg_GetPriority Get the priority header from a message. 46 tibemsMsg_Get Property Get the value of a message property. 47 tibemsMsg_GetPropertyNames Get a list of property names from a message. 50 tibemsMsg_GetRedelivered Get the redelivered header from a message. 51 tibemsMsg_GetReplyTo Get the reply-to header from a message. 52 tibemsMsg_GetTimestamp Get the timestamp header from a message. 53 tibemsMsg_GetType Get the type header of a message. 54 tibemsMsg_PropertyExists Test whether a named property has been set on a message. 58 tibemsMsg_SetCorrelationID Set the correlation ID header of a message. 60 tibemsMsg_SetDeliveryMode Set the delivery mode header of a message. 62 tibemsMsg_SetDestination Set the destination header of a message. 63 tibemsMsg_SetEncoding Set the character encoding header of a message. 64 tibemsMsg_SetExpiration Set the expiration header of a message. 65 tibemsMsg_SetMessageID Set the message ID header of a message. 66 tibemsMsg_SetPriority Set the priority header of a message. 67 tibemsMsg_SetRedelivered Set the redelivered header of a message. 71 tibemsMsg_SetReplyTo Set the reply-to header of a message. 72 tibemsMsg_SetTimestamp Set the timestamp header of a message. 73 tibemsMsg_SetType Set the type header of a message. 74 tibemsMsg_Set Property Set the value of a message property. 68 Table 7 Message Constants Constant Description TIBEMS_DEFAULT_DELIVERY_MODE TIBEMS_PERSISTENT When neither the sending call nor the producer supplies a delivery mode, this default applies. TIBEMS_DEFAULT_PRIORITY 4 When neither the sending call nor the producer supplies a priority, this default applies. See also, Priority. TIBEMS_DEFAULT_TIME_TO_LIVE 0 When neither the sending call nor the producer supplies a priority, this default applies. The default value, zero, indicates that messages do not expire. See also Expiration.