Copyright © TIBCO Software Inc. All Rights Reserved

> 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. | 24
> Body
> tibemsMsg_GetBodyType | Get the body type of a message. | 35
> Message Life Cycle
> tibemsMsg_ClearBody | Clear the body of a message. | 26
> tibemsMsg_ClearProperties | Clear the properties of a message. | 27
> tibemsMsg_Create | Create a message object. | 28
> tibemsMsg_CreateCopy | Create a copy of the message object. | 29
> tibemsMsg_CreateFromBytes | Create a message object from data in a byte sequence. | 30
> tibemsMsg_Destroy | Destroy a message. | 31
> tibemsMsg_MakeWriteable | Make a message writeable. | 53
> tibemsMsg_Recover | Recover a single message. | 57
> Output
> tibemsMsg_GetAsBytes | Get a byte sequence representation of the message object. | 32
> tibemsMsg_GetAsBytesCopy | Copies a byte sequence representation of the message object into storage supplied by the program. | 33
> tibemsMsg_GetByteSize | Computes the size of the byte sequence representation of the message. | 36
> tibemsMsg_Print | Print a message. | 54
> tibemsMsg_PrintToBuffer | Prints a message into a buffer. | 55
> Headers and Properties For details, see Headers.
> tibemsMsg_ClearProperties | Clear the properties of a message. | 27
> tibemsMsg_GetCorrelationID | Get the correlation ID header of a message. | 37
> tibemsMsg_GetDeliveryMode | Get the delivery mode header from a message. | 39
> tibemsMsg_GetDestination | Get the destination header from a message. | 40
> tibemsMsg_GetEncoding | Get the character encoding header from a message. | 41
> tibemsMsg_GetExpiration | Get the expiration header from a message. | 42
> tibemsMsg_GetMessageID | Get the message ID header from a message. | 43
> tibemsMsg_GetPriority | Get the priority header from a message. | 44
> tibemsMsg_Get Property | Get the value of a message property. | 45
> tibemsMsg_GetPropertyNames | Get a list of property names from a message. | 48
> tibemsMsg_GetRedelivered | Get the redelivered header from a message. | 49
> tibemsMsg_GetReplyTo | Get the reply-to header from a message. | 50
> tibemsMsg_GetTimestamp | Get the timestamp header from a message. | 51
> tibemsMsg_GetType | Get the type header of a message. | 52
> tibemsMsg_PropertyExists | Test whether a named property has been set on a message. | 56
> tibemsMsg_SetCorrelationID | Set the correlation ID header of a message. | 58
> tibemsMsg_SetDeliveryMode | Set the delivery mode header of a message. | 60
> tibemsMsg_SetDestination | Set the destination header of a message. | 61
> tibemsMsg_SetEncoding | Set the character encoding header of a message. | 62
> tibemsMsg_SetExpiration | Set the expiration header of a message. | 63
> tibemsMsg_SetMessageID | Set the message ID header of a message. | 64
> tibemsMsg_SetPriority | Set the priority header of a message. | 65
> tibemsMsg_SetRedelivered | Set the redelivered header of a message. | 69
> tibemsMsg_SetReplyTo | Set the reply-to header of a message. | 70
> tibemsMsg_SetTimestamp | Set the timestamp header of a message. | 71
> tibemsMsg_SetType | Set the type header of a message. | 72
> tibemsMsg_Set Property | Set the value of a message property. | 66

> 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.

Copyright © TIBCO Software Inc. All Rights Reserved