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


Chapter 2 Messages : tibemsMsg : tibemsMsg_SetExpiration

tibemsMsg_SetExpiration
Function
Purpose
Set the expiration header of a message.
C Declaration
tibems_status tibemsMsg_SetExpiration(
    tibemsMsg message,
    tibems_long value );
COBOL Call
CALL "tibemsMsg_SetExpiration"
USING BY VALUE message,
BY REFERENCE value,
RETURNING tibems-status
END-CALL.
 
message has usage pointer.
Parameters
 
Remarks
Sending calls set the expiration header automatically. The JMS specification defines this call for symmetry.
Sending calls record the expiration time (in milliseconds) of the message in this field:
 
The server discards a message when its expiration time has passed. However, the JMS specification does not guarantee that clients do not receive expired messages.
See Also
tibemsMsg_GetExpiration on page 42
tibemsMsgProducer_GetTimeToLive on page 183
tibemsMsgProducer_SetTimeToLive on page 193

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