title: Azure Service Bus: No messages on queue, only requests
body: <p>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. </p>
  
  <p><img src="https://i.stack.imgur.com/mBPPM.png" alt="IoT hub example"></p>
  
  <p><img src="https://i.stack.imgur.com/4XPf3.png" alt="Service bus example"></p>
  
  <p>I implemented two routing rules with the following criteria:</p>
  
  <pre><code>$._eventtype="meeting"
  </code></pre>
  
  <p>and </p>
  
  <pre><code>$body._eventtype="meeting"
  </code></pre>
  
  <p>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. </p>
  
  <p>Find below a sample message, which I'm trying to route.</p>
  
  <pre><code>{"_room": "-----", 
   "_eventtype": "meeting", 
   "_temperature": 25, 
   "_building": "-----", 
   "_timestamp": "2018-01-24T11:08:13.056792Z", 
   "_humidity": 36, 
   "_id": 0}
  </code></pre>