Java CAPS JMS Reference

setTimeToWait(arg0)

Description

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

Parameters

Name 

Type 

Description 

arg0

long

The time, in milliseconds, for the operation to block program execution. 

Return Value

None.

Exceptions

None.