High/Low Priority Queues (cloudIotHubDep-MessageQueue)

The driver sends data to the cloud by taking messages from the priority queues in a round robin fashion according to the Weight property value for each queue. For example, if the High Priority Queue has a weight of 2 and the Low Priority Queue has a weight of 1, assuming both queues have data to send, the IotHubMessageClient sends the two high priority messages first followed by the one low priority message.
Figure 34.   High/Low Priority Queues properties
Image

To access these properties, expand Config > Services > CloudConnector_Sentience nCloudDriver > Connector Impl > Message Client, double-click High Priority Queue or Low Priority Queue.

Name Value Description
Queue Size number (defaults to 1048576
Defines the amount of data that can be placed in the queue before it will stop accepting new messages.
Weight 1 (default) The weight property sets this queue’s relative weight for message selection. A higher weight value will cause the queue to consume a larger share of the available bandwidth.