XMSC_TIME_TO_LIVE

    Data type:
    System.Int32

    Property of:
    Destination

    Name used in a URI:

    • expiry (for a IBM MQ destination)
    • timeToLive (for a WebSphere default messaging provider destination)

The time to live for messages sent to the destination.

The valid values of the property are as follows:

Valid value Meaning
0 A message sent to the destination never expires.
A positive integer A message sent to the destination has the specified time to live in milliseconds. The default time to live of the message producer, or any time to live specified on the Send call, is ignored.
XMSC_TIME_TO_LIVE_AS_APP A message sent to the destination has the time to live specified on the Send call. If the Send call specifies no time to live, the default time to live of the message producer is used instead.
The default value is XMSC_TIME_TO_LIVE_AS_APP. Parent topic: Property definitions