Receives the next message that arrives within the specified
timeout interval.
This call blocks until a message arrives, the
timeout expires, or this message consumer is closed.
A timeout of zero never expires, and the call blocks
indefinitely.
Namespace:
Kaazing.JMS
Assembly:
Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Function Receive ( _
timeout As Long _
) As IMessage |
Return Value
the next message produced for this message consumer, or
null if the timeout expires or this message consumer is concurrently
closed
Exceptions
See Also