Pub/Sub messaging allows you to produce a single message to be consumed by many receivers. A publisher sends messages to a topic. A receiver subscribes to those topics in which it is interested and receives all messages published to those topics.
The following general steps outline how to exchanged messages from an OpenEdge application to a SonicMQ Broker for a Pub/Sub session:
1. Create a session procedure and connect to a SonicMQ Broker.
2. Publish a message to a Pub/Sub topic.
3. Subscribe to a Pub/Sub topic and receive messages.