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


Chapter 2 Messages : tibemsMsg : tibemsMsg_SetDestination

tibemsMsg_SetDestination
Function
Purpose
Set the destination header of a message.
C Declaration
tibems_status tibemsMsg_SetDestination(
    tibemsMsg message,
    tibemsDestination value );
COBOL Call
CALL "tibemsMsg_SetDestination"
USING BY VALUE message,
BY VALUE value,
RETURNING tibems-status
END-CALL.
 
message and value have usage pointer.
Parameters
 
Remarks
Sending calls set the delivery mode header automatically. The JMS specification defines this call for symmetry.
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.
See Also
tibemsDestination on page 146
tibemsMsg_GetDestination on page 41
tibemsMsgProducer_Send on page 190
tibemsMsgProducer_GetDestination on page 184
 

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