Publish Subscribe Messaging

In this exercise you will learn how to use Publish-Subscribe messaging with Amazon MQ using topics. The behavior of a message topic is that a message published onto the topic will be received by all subscribers of that topic, so there is 1:n relationship between sender and receivers for each published message.

topics

You will find the source code for the client used in this lab here.