Create a JMS session
- Last Updated: August 26, 2021
- 1 minute read
- OpenEdge
- Version 12.2
These are the general steps to create a JMS session in ABL:
-
Run jms/jmssession.p, jms/pubsubsession.p or jms/ptpsession.p persistently with the Progress OpenEdge JMS Adapter
connection parameters as
INPUT CHARparameters. - (Optional) Set JMS attributes and parameters by calling internal procedures in the session procedure.
- Start the actual JMS connection and session by calling the beginSession procedure.
Note: Session attributes cannot be modified
after calling the beginSession procedure.
An OpenEdge application can create and connect to multiple Session objects concurrently. You must create separate sessions to connect to each domain (PTP or Pub/Sub) with a separate Progress OpenEdge JMS Adapter Broker or a single Broker's unified domain.
Note: It is recommended that
you use the JMS session domain and minimize the number of Session objects. Each session
represents a separate JMS-provider client session and you want to minimize the number of
JMS-provider client sessions.