Skip to content

Commit 582bdd1

Browse files
committed
Update route information about outputs
1 parent 9df0895 commit 582bdd1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

articles/iot-edge/module-composition.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how a deployment manifest declares which modules to deploy, h
44
author: kgremban
55
manager: philmea
66
ms.author: kgremban
7-
ms.date: 03/28/2019
7+
ms.date: 05/28/2019
88
ms.topic: conceptual
99
ms.service: iot-edge
1010
services: iot-edge
@@ -129,15 +129,17 @@ Every route needs a source and a sink, but the condition is an optional piece th
129129

130130
### Source
131131

132-
The source specifies where the messages come from. IoT Edge can route messages from leaf devices or modules.
132+
The source specifies where the messages come from. IoT Edge can route messages from modules or leaf devices.
133+
134+
Using the IoT SDKs, modules can declare specific output queues for their messages using the ModuleClient class. Output queues aren't necessary, but are helpful for managing multiple routes. Leaf devices can use the DeviceClient class of the IoT SDKs to send messages to IoT Edge gateway devices in the same way that they would send messages to IoT Hub. For more information, see [Understand and use Azure IoT Hub SDKs](../iot-hub/iot-hub-devguide-sdks).
133135

134136
The source property can be any of the following values:
135137

136138
| Source | Description |
137139
| ------ | ----------- |
138140
| `/*` | All device-to-cloud messages or twin change notifications from any module or leaf device |
139141
| `/twinChangeNotifications` | Any twin change (reported properties) coming from any module or leaf device |
140-
| `/messages/*` | Any device-to-cloud message sent by a module or leaf device through some or no output |
142+
| `/messages/*` | Any device-to-cloud message sent by a module through some or no output, or by a leaf device |
141143
| `/messages/modules/*` | Any device-to-cloud message sent by a module through some or no output |
142144
| `/messages/modules/<moduleId>/*` | Any device-to-cloud message sent by a specific module through some or no output |
143145
| `/messages/modules/<moduleId>/outputs/*` | Any device-to-cloud message sent by a specific module through some output |

0 commit comments

Comments
 (0)