Defining Routes
Assuming the client has a module that generates Telemetric data – call it TemperatureSensor. The TemperatureSensor outputs the data in the route called temp_output. The routing needed to be specified will look like this:
"routes": {
"LEClientToIoTHub": "FROM /messages/modules/LEClient/outputs/* INTO $upstream",
"sensorToLEClient": "FROM /messages/modules/TemperatureSensor/outputs/temp_output INTO BrokeredEndpoint("/modules/LEClient/inputs/default_input")"
},