This call blocks indefinitely until a message is produced or until this {@code JMSConsumer} is closed.
If this {@code receive} is done within a transaction, the JMSConsumer retains the message until the transaction commits. @return the next message produced for this {@code JMSConsumer}, or null if this {@code JMSConsumer} is concurrently closed @exception JMSRuntimeException if the JMS provider fails to receive the nextmessage due to some internal error.
|
|