Try OpenEdge Now
skip to main content
Messaging and ESB
Implementing Messaging : Consuming messages : Message-reception issues : Synchronous message reception
 
Synchronous message reception
ABL does not explicitly support receiving messages synchronously, but the same effect can be achieved by use of the WAIT–FOR statement or the waitForMessages procedure. These constructs wait for a user-defined event. When the desired message is received, the message handler can trigger the termination of the WAIT–FOR statement or the waitForMessages procedure —for example, by applying the specified user-defined event.