WebLogic Messaging API Class Library

IMessageConsumer. Method 

Receives the next message if one is immediately available.

IMessage ();

Return Value

the next message produced for this message consumer, or null if one is not available

Exceptions

Exception Type Condition
MessageException if the JMS provider fails to receive the next message due to some internal error.

See Also

IMessageConsumer Interface | WebLogic.Messaging Namespace