This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
I added "$body.productId = 'MT3620'" message routing, But it don't work.
If message query is "true", all messages routing fine.
Based on the doc the message must have the following properties:
1. Content type = "application/json"
2. Content encoding = "utf-8"
Thanks
Roman
Thanks for your support!
Added code:
IoTHubMessage_SetContentEncodingSystemProperty(_MessageHandle, "utf-8"); IoTHubMessage_SetContentTypeSystemProperty(_MessageHandle, "application%2fjson");