![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
tibems_status tibemsMsg_SetExpiration(tibemsMsg message,tibems_long value );
message has usage pointer.
Sending calls set the expiration header automatically. The JMS specification defines this call for symmetry.
• If the time-to-live is non-zero, the expiration is the sum of that time-to-live and the sending client’s current time (GMT).
• If the time-to-live is zero, then expiration is also zero—indicating that the message never expires.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.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |