Publishing a message to a Pub/Sub topic
The following general steps outline how an OpenEdge application publishes a message to a topic:
1. The application obtains a handle to the Pub/Sub Session object.
3. The application populates the header fields, properties, and body of the message.
4. The application calls the publishprocedure in the Session object with the message handle and the name of a topic as input parameters.
5. If the application is not going to use the message after publishing, it deletes the message.