Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Messages : tibemsMsg : tibemsMsg_GetDestination

tibemsMsg_GetDestination
Function
Purpose
Get the destination header from a message.
C Declaration
tibems_status tibemsMsg_GetDestination(
    tibemsMsg message,
    tibemsDestination* value );
COBOL Call
CALL "tibemsMsg_GetDestination"
USING BY VALUE message,
BY REFERENCE value,
RETURNING tibems-status
END-CALL.
 
message and value have usage pointer.
Parameters
 
Remarks
Sending calls record the destination (queue or topic) of the message in this header (ignoring and overwriting any existing value). The value is based on either a property of the producer, or on a parameter to the send call.
Listeners that consume messages from several destinations can use this property to determine the actual destination of a message.
See Also
tibemsDestination on page 144
tibemsMsg_SetDestination on page 61

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved