Try OpenEdge Now
skip to main content
Messaging and ESB
Implementing Messaging : Managing connections and sessions : Creating a JMS session
 

Creating a JMS session

These are the general steps to create a JMS session in ABL:
1. Run jms/jmssession.p, jms/pubsubsession.p or jms/ptpsession.p persistently with the OpenEdge Adapter for SonicMQ connection parameters as INPUT CHAR parameters.
2. (Optional) Set JMS attributes and parameters by calling internal procedures in the session procedure.
3. Start the actual JMS connection and session by calling the beginSession procedure .
Note: Session attributes cannot be modified after calling the beginSession procedure .
* Creating multiple sessions