Release 10.1A: OpenEdge Development:
Messaging and ESB

> ## Using PUB/SUB messaging

> 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 a 4GL 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.

> 4. Send a message and receive a reply.

> 5. Delete objects.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095