Topic Support and Syntax

This section describes the topic syntax supported by the Solace Messaging Platform, and it provides examples of valid topics.

  • publishing—Topics are used as subjects/destinations that clients can publish messages to.
  • Publish topics cannot contain wildcards.

  • subscribing—Topics are used as subscriptions to attract published messages of interest for consumer clients. That is, when messages are published to a topic, matching topic subscriptions will attract those messages, and if that topic subscription is registered for a client or for an endpoint that the client is bound to, the client may receive that message.
  • Subscribe topics can contain wildcards. With wildcards, you can subscribe to multiple topics.

The Solace Messaging Platform supports the following publish/subscribe messaging protocols:

Note:  The SMF and MQTT protocols use similar topic syntax, so SMF and MQTT messaging applications can be used together in the same messaging network. However, there are some differences in topic syntax and usage between SMF and MQTT, so there are some planning considerations that must be made if you are going to deploy MQTT applications in a network alongside SMF applications.