Try OpenEdge Now
skip to main content
Messaging and ESB
Understanding the OpenEdge Adapters : Exchanging messages
 

Exchanging messages

The following steps are necessary to allow the exchange of messages between ABL and JMS:
1. The programmer writes an ABL program that connects to the SonicMQ Broker through the OpenEdge Adapter for SonicMQ by creating a persistent Session object procedure using OpenEdge-Install-Directory/jms/jmssession.r, OpenEdge-Install-Directory/jms/ptpsession.r, or OpenEdge-Install-Directory/jms/pubsubsession.r.
2. The programmer uses the ABL–JMS API implemented by the Session objects to send and receive JMS messages through the OpenEdge client application.
Note: The programmer does not have to write any Java or ABL code on the server side. That code is supplied by Progress Software Corporation and installed with the OpenEdge Adapter for SonicMQ and in the client.