I am trying to send data coming in from the IoT hub into Service Bus when the routing criteria is met. For example, if temp level reaches a certain level. My device would send a JSON format "alert": true.
When I set the routing query to $body.alert = true. It does nothing and it won't route to the Service Bus for notifications.
Any help would be much appreciated.
Thank you