Try OpenEdge Now
skip to main content
Messaging and ESB
Introduction to messaging : Publish-and-Subscribe messaging : Sending and receiving messages
 

Sending and receiving messages

The following table describes the tasks performed to send and receive messages using PTP messaging.
Table 4. Pub/Sub messagingtasks
Step
Who
What
1.
Subscriber
Subscribes to a topic (a subscriber must exist prior to a message being published in order to consume the message)
2.
Session
Creates and populates a message
3.
Publisher
Publishes the message to the topic
4.
Message broker
Delivers the message to the subscribers
5.
Subscriber
Consumes the message
6.
Subscriber
Acknowledges message receipt to the broker
7.
Message broker
Deletes the message after all subscribers acknowledged it