This article will guide you through the process of creating a Solace MQTT Session object.
An MQTT session object represents a connection between a client and the messaging system using the MQTT protocol. It holds the state of an MQTT client. MQTT sessions are identified by their Client ID and associated Message VPN.
Before creating the MQTT Session object, you must establish a Solace Manager connection. To learn how, click on Create Remote Solace Manager Connection.
Create a Solace MQTT Session
You can create a Solace MQTT Session object by following these steps:
- Open the Solace MQTT Session viewlet, click the Add button
.
- The Select Object Path window will open. Specify the Workgroup server, Node, Broker, and Message VPN, then click Select path.
By default, all available Workgroup servers, Nodes, Brokers, and Message VPNs are selected. If you want to limit the selection, you must explicitly choose which ones to include. - The Solace MQTT Session Create Window will open. Enter the MQTT Session Client ID(required ) and any other necessary details.
- Click on the Advanced slide at the bottom left to view more advanced options.
- Click Ok to create the MQTT Session object immediately. Alternatively, click Schedule to create it at a future time (see Scheduling for details).
- Now, go to the MQTT Session viewlet to see the newly added object. If you can't find it, refresh the viewlet using the Refresh
icon.