Creating a session procedure and connecting to a SonicMQ Broker
The following general steps outline how an OpenEdge application connects to a SonicMQ Broker for a PTP session:
1. The application runs jms/jmssession.p or jms/ptpsession.p persistently to instantiate the appropriate Session object and calls the beginSessionprocedure to start the JMS session.
2. The application uses the handle of the Session object to create and send messages to a queue and to receive messages from a queue.
3. The application calls the deleteSessionprocedure in the Session object to close the session and the underlying connection.