I'm trying to route messages from an IoT hub to a function app using a service bus queue as an Iot hub endpoint. The messages I send to the IoT hub are registered in the IoT hub, but won't be routed to the service bus queue. When I monitor the service bus queue, I only see successful requests.
I implemented two routing rules with the following criteria:
$._eventtype="meeting"
and
$body._eventtype="meeting"
I tested the second one with the example provided by Azure and it matched. Neither of them seem to forward the messages to the service bus.
Find below a sample message, which I'm trying to route.
{"_room": "-----",
"_eventtype": "meeting",
"_temperature": 25,
"_building": "-----",
"_timestamp": "2018-01-24T11:08:13.056792Z",
"_humidity": 36,
"_id": 0}