Try OpenEdge Now
skip to main content
Messaging and ESB
Programming for the OpenEdge Adapter for SonicMQ with the ABL - JMS API : PTP message example : Creating a Message Consumer
 

Creating a Message Consumer

The OpenEdge client requires a queue for sending messages. You create a queue using the Sonic Management Console. Queues must be defined before starting your session. Then you create a Message Consumer to receive requests from queue, as follows:

Creating a Message Consumer

RUN createMessageConsumer IN hPTPSession
  (THIS-PROCEDURE, "myintproc", OUTPUT hConsumer).