Java CAPS JMS Reference

getTimeToLive()

Description

Gets and returns the specified time period, in milliseconds, following the dispatch time that a message should be retained by the message system.

Parameters

None.

Return Value

Returns 

Type 

The default time period of the JMS timeToLive property, in milliseconds.

long

Exceptions

None.