3. The application calls the receiveFromQueueprocedure in the Session object with the name of a queue and the Message Consumer handle as input parameters.
4. The application executes a WAIT–FOR statement (or calls a waitForMessages procedure) and processes incoming messages and other ABL (Advanced Business Language) events.
5. The application deletes the messages after it finishes using them.