This illustration shows the use case Two Ways to Receive a Message of the class Message Consumer in the JMS Operational Interface.

The method used is receiveNoWait.