Progress
External Program
Interfaces
Requirements
The following components are required to access the SonicMQ broker from the 4GL:
NOTE: Version 9.1D or later of the Progress SonicMQ Adapter requires Version 4 or later of the SonicMQ product.
- On the 4GL side, progress-install-directory
/jms/*.r
and progress-install-directory/jms/impl/*.r
files. These files are installed with the SonicMQ Adapter product. When deploying to a system where the SonicMQ Adapter is not defined, copy the entire progress-install-directory/jms from a SonicMQ Adapter installation to the PROPATH for the deployed client.The 4GL programmer should be familiar with:
The 4GL programmer follows these general steps to send and receive messages:
- Start two Progress processes: a NameServer instance and at least one SonicMQ Adapter instance.
- Write 4GL programs that connect to the SonicMQ broker through the SonicMQ Adapter by creating a progress-install-directory
/jms/pubsubsession.r
persistent procedure or a progress-install-directory/jms/ptpsession.r
persistent procedure.- Send and receive messages using the 4GL–JMS API implemented by those Session objects.
NOTE: A 4GL programmer does not have to write any Java or 4GL code on the server side. That code is supplied by Progress and installed with the SonicMQ Adapter.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |