Try OpenEdge Now
Messaging and ESB
Programming for the OpenEdge Adapter for SonicMQ with the ABL - JMS API
:
Pub/Sub messaging example
Pub/Sub messaging example
A Pub/Sub messaging example consists of the basic steps described in the following sections:
Creating a Pub/Sub session procedure
Connectingto the broker
Creatinga Message Subscriber
Subscribingto a topic
Publishingto a topic
Consumingmessages from a topic
Deletinga message
Summary
In this section:
Creating a Pub/Sub session procedure
Connecting to the broker
Creating a Message Subscriber
Subscribing to a topic
Publishing to a topic
Consuming messages from a topic
Deleting messages
Summary