I am attempting to use a Particle Azure IoT Hub integration to send the following Custom JSON to a Azure IoT Hub and have the message routed to a Service Bus Queue using Azure IoT Hub’s built-in support for routing to Custom Endpoints.
I have monitored receipt of the message with Device Explorer, so I know it reaches the Hub, but the message never matches the following route query.
$body.deviceEventRelay = ‘11’
So, I wrote a C# program to send the message content (above) to the same Azure IoT Hub and, interestingly, that message was properly routed to the Service Bus Queue. This leads me to suspect that my Custom JSON is missing some body or header markup.
Does anyone know what values are used for required fields ContentType and ContentEncoding in the message header sent by the Particle Azure IoT Hub integration?
Help needed. Assistance appreciated. Thanks.