Example of a single queue manager publish/subscribe configuration
Figure 1 illustrates a basic single queue manager publish/subscribe configuration. The example shows the configuration for a news service, where information is available from publishers about several topics:
- Publisher 1 is publishing information about sports results using a topic of Sport
- Publisher 2 is publishing information about stock prices using a topic of Stock
- Publisher 3 is publishing information about film reviews using a topic of Films, and about television listings using a topic of TV
Three subscribers have registered an interest in different topics, so the queue manager sends them the information that they are interested in:
- Subscriber 1 receives the sports results and stock prices
- Subscriber 2 receives the film reviews
- Subscriber 3 receives the sports results
None of the subscribers have registered an interest in the television listings, so these are not distributed. Parent topic: Publish/subscribe messaging