Message Broker Topics and Subscriptions
This feature of the WSO2 Message Broker provides the facility for users to route messages to the required users. If we are explaining deeply, there is a concept called 'Topic' and message routing is done on the base of that topic. When a particular user want to publish a message to a particular sector , he creates a topic with a name related to the messages that he is going to pulish. As an example, if a particular user want to publish messages related with sports news, he can create a topic with the name 'SportsNews' and publish the messages to that topic.
When another particular user is interested on any topic in the topic tree, he can subscribe to that topic and receive messages which are published to that topic by the publisher. As in the above example, when a particular user is interested on sports, he can subscribed to the topic 'SportsNews' and get messages published to that topic.
message-publish-subscribe-using-topics
Copyright © WSO2 Inc. 2005-2013