Java CAPS JMS Reference

setTimeToLive(arg0)

Description

Sets the default time period, in milliseconds, following the dispatch time that a message should be retained by the message system.

Parameters

Name 

Type 

Description 

arg0

long

The default time period for the JMS timeToLive property, in milliseconds

Return Value

None.

Exceptions

None.