receiveNoWait
public Message receiveNoWait() throws JMSException;
Receives the next message if one is immediately available.
- Returns
- the next message produced for this message consumer, or null if one is not available
- Exceptions
- JMSException - if the JMS provider fails to receive the next message due to an internal error.
uj29380_