Publish-Subscribe Messaging Pattern
Jump to navigation
Jump to search
A Publish-Subscribe Messaging Pattern is an asynchronous communication pattern that ...
- See: Network Topology, Software Architecture, Messaging Pattern, Message Passing, Message Queue, Message-Oriented Middleware, Application Programming Interface, Java Message Service, Scalability.
References
2022
- (Wikipedia, 2022) ⇒ https://en.wikipedia.org/wiki/Publish–subscribe_pattern Retrieved:2022-11-9.
- In software architecture, publish–subscribe is a messaging pattern where senders of messages, called publishers, do not program the messages to be sent directly to specific receivers, called subscribers, but instead categorize published messages into classes without knowledge of which subscribers, if any, there may be. Similarly, subscribers express interest in one or more classes and only receive messages that are of interest, without knowledge of which publishers, if any, there are.
Publish–subscribe is a sibling of the message queue paradigm, and is typically one part of a larger message-oriented middleware system. Most messaging systems support both the pub/sub and message queue models in their API; e.g., Java Message Service (JMS).
This pattern provides greater network scalability and a more dynamic network topology, with a resulting decreased flexibility to modify the publisher and the structure of the published data.
- In software architecture, publish–subscribe is a messaging pattern where senders of messages, called publishers, do not program the messages to be sent directly to specific receivers, called subscribers, but instead categorize published messages into classes without knowledge of which subscribers, if any, there may be. Similarly, subscribers express interest in one or more classes and only receive messages that are of interest, without knowledge of which publishers, if any, there are.