Can Contain | |
Allowed In | <app> |
Name | Required | Description |
name | yes | The name of this topic. Tip: It is a best practice to start topic names with a unique namespace, such as the namespace used by the custom app that subscribes to or publishes the topic. Names for topics must be unique within an app. You may use any character that is valid in JavaScript, however, keep the following rules in mind: ![]() Topic names are composed of one or more tokens and . is the token separator. You can use * as a wildcard for individual tokens in topic names when you subscribe to topics. So for a subscription, both client.*.issue and myOrg.** are valid topic names. ![]() ![]() ![]() ![]() For more information on valid topic names, see the OpenAjax Hub 2.0 Specification. |
datatype | The datatype that describes the payload for messages in this topic. Valid datatypes include: ![]() ![]() ![]() ![]() ![]() ![]() ![]() This datatype has three implications to keep in mind: ![]() ![]() ![]() | |
publish | Whether this app publishes messages to this topic (true | false). Defaults to false. Note: Only one of publish or subscribe can be true for a topic. | |
subscribe | Whether this app subscribes to messages for this topic (true | false). Defaults to false. Note: Only one of publish or subscribe can be true for a topic. |