A publish-and-subscribe (also known as pub/sub) is a Java Message Service model. It has the following characteristics:
- In this, one producer can send a message to many consumers through a virtual channel known as a topic.
- Every client that has subscribed to a topic receives its own copy of messages published to that topic.
- A single message produced by one publisher may be copied and distributed to hundreds, or even thousands of subscribers.
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
