Azure IoT allows you to define “Endpoints” and send messages to them via “Routes”. Learn more about Endpoints and Routes here.
I setup a Service Bus Queue Endpoint, but it was showing as “Unreachable” in the portal.
I spent a bunch of time trying to debug this and ultimately discovered that IoT Hub Service Bus Endpoints don’t support Queues with “Sessions”, “Duplicate Detection”, or “Partitions” enabled.
“Partitioned queues and topics with deduplication enabled are also not supported.” (from documentation)
So, when you create your Queue, make sure you DO NOT check the boxes below:
- “Enable duplicate detection”
- “Enable partitioning”
- “Enable sessions”