[TIBCO.EMS.UFOCLIENT .NET client library 7.0 documentation]

Gets and Sets the message's expiration value.

Namespace:  TIBCO.EMS.UFO
Assembly:  TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)

Syntax

public long Expiration { get; set; }
Public Property Expiration As Long
public:
property long long Expiration {
	long long get ();
	void set (long long value);
}

Remarks

When a message is sent, the Expiration header field is left unassigned. After completion of the send or publish method, it holds the expiration time of the message. This is the sum of the time-to-live value specified by the client and the GMT at the time of the send or publish.

If the time-to-live is specified as zero, Expiration is set to zero to indicate that the message does not expire.

When a message's expiration time is reached, the system will the message. The .NET API does not define any form of notification of message expiration.

Clients should not receive messages that have expired; however, the .NET API does not guarantee that this will not happen

See Also