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
|