What is a publish-and-subscribe model?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is a publish-and-subscribe model?
Rating:
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.
Rating:
Was this information helpful?
Other articles
- String Handling
- What is Swing?
- What is the import statement?
- Skills Required
- What is the do-while control statement?