-
Notifications
You must be signed in to change notification settings - Fork 3
Topics
uklance edited this page Sep 25, 2012
·
22 revisions
Topics must start with a '/' character and can be wildcards.
- ** can be used at the end of a topic to match all subtopics
- * can be used at the end of a topic to match all subtopics in the next level
eg:
- /chat/** will match /chat/cars and /chat/cars/bmw
- /chat/* will match /chat/cars but WILL NOT MATCH /chat/cars/bmw
- /** will match all topics
Under the hood, a topic is a grouping of CometD channels. This abstraction allows multiple PushTargets to subscribe to the same topic but apply different actions and formatting to the messages.