This topic describes how to subscribe to device messages from IoT Platform on Simple Message Queue (SMQ, formerly MNS) server, and how to forward device data from IoT Platform to SMQ.
Server-side subscription
Features
To perform fine-grained processing on device messages, IoT Platform sends device messages to SMQ for consumption. You can select server-side subscription products and message types to create a queue. The SMQ client receives device messages by listening to the queue.
References
For information about server-side subscription of device messages in SMQ, see Configure SMQ server-side subscriptions.
Data forwarding
Features
To perform fine-grained processing on device messages, you can enable the data forwarding feature to forward device data from IoT Platform to SMQ. Then, your business server can obtain the messages from devices by subscribing to this topic. This implements high-performance message transmission between your business server and devices.
References
For information about forwarding device data from IoT Platform to SMQ, see Forward data to SMQ.