This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

In messaging systems, message routing is done on the basis of a concept called Topics: First, we need to have topics created in the message broker (WSO2 MB). A JMS client can then be configured to publish messages to this topic and other JMS clients can be configured as subscribers of this topic. When the publisher sends a message to the topic, it will be dispatched to all the JMS clients that are subscribed to that topic.

For example, consider that we have a topic called 'SportsNews' created in the message broker. We can now have users (JMS clients) publishing messages related to sports news to this topic. Users (JMS clients) that are interested in sports news can subscribe to this topic and receive the messages that are published.

The following  diagram depicts how messages are published to topics and how subscribers consume the messages:

Message Publish-Subscribe Flow of Topics

The capability of managing topics and subscriptions in WSO2 Message Broker is provided by the following features in the WSO2 feature repository:

NameWSO2 Carbon - Event Feature
Identifier: org.wso2.carbon.event.feature.group

Name: WSO2 Carbon - Feature - Andes 
Identifier: org.wso2.carbon.andes.feature.group 

This feature can be removed or added to a different distribution if it is not already bundled as described in Working with Features.  

  • No labels