Receives the next message produced for this message consumer.
Namespace:
Kaazing.JMSThis call blocks indefinitely until a message is produced or until this message consumer is closed.
If this receive is done within a transaction, the consumer retains the message until the transaction commits.
Assembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
Return Value
the next message produced for this message consumer, or null if this message consumer is concurrently closed
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the JMS provider fails to receive the next message due to some internal error. |