When you build an application, the design of the topic
tree should take into account the following principles of topic name
syntax and semantics:
- Topic names are case sensitive.
For example, "ACCOUNTS" and
"Accounts" are two different topics.
- Topic names can include the space character.
For example,
"Accounts payable" is a valid topic.
- A leading "/" creates a distinct topic.
For example, "/USA"
is different from "USA" and "/USA' matches "+/+" and "/+", but not
"+".
- A topic name that contains '//' is not a valid name. An attempt
to subscribe to a topic with such a name causes an error.
- Do not include the null character (Unicode \x0000) in any topic.
- The wildcard characters "+" and "#" are not treated as wild cards
if they are mixed with any other characters (including themselves
but excluding the topic level separator "/") within a topic level.