Java CAPS JMS Reference

getTimeToWait()

Description

Gets and returns the timeout period during which the operation blocks program execution, while waiting for a message to arrive.

Parameters

None.

Return Value

Returns 

Type 

The time to wait for a message, in milliseconds. 

long

Exceptions

None.