Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now give it a name and also select the Storage Container that was created during Step 2 of this tutorial. Also, make sure to set the 'Encoding' type to JSON as shown above. Finally click 'Create'. When the endpoint creation completes, you should see the created endpoint as shown below.

Now switch back to the 'Routes' tab at the top of the main panel as shown below.

Image Added

Now click the '+ Add' button to create a new route. This will open the following window.

Image Added

Set the Name, Endpoint (use the storage endpoint you just created) and leave the Data source to the default of 'Device Telemetry Messages'. Also set the Routing Query to the following (and as shown above):

Code Block
$body.topic.groupId = 'Routed Group'

Finally, click Save to save the route. You should now see the created route as shown below.

Image Added

Step 4: Reconfigure Azure Injector to Support Message Based Routing

...