Skip to content

Commit b9baddd

Browse files
author
Emmanuel Bertrand
committed
using ct instead of contentType
1 parent 2c305c3 commit b9baddd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/iot-hub/iot-hub-mqtt-support.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,9 @@ The following is a list of IoT Hub implementation-specific behaviors:
294294

295295
* IoT Hub only supports one active MQTT connection per device. Any new MQTT connection on behalf of the same device ID causes IoT Hub to drop the existing connection and **400027 ConnectionForcefullyClosedOnNewConnection** will be logged into IoT Hub Logs
296296

297-
* To route messages based on message body, you must first add property 'contentType' to the end of the MQTT topic and set its value to be `application/json;charset=utf-8`. An example is shown below. To learn more about routing messages either based on message properties or message body, please see the [IoT Hub message routing query syntax documentation](iot-hub-devguide-routing-query-syntax.md).
297+
* To route messages based on message body, you must first add property 'contentType' (`ct`) to the end of the MQTT topic and set its value to be `application/json;charset=utf-8`. An example is shown below. To learn more about routing messages either based on message properties or message body, please see the [IoT Hub message routing query syntax documentation](iot-hub-devguide-routing-query-syntax.md).
298298

299-
```devices/{device_id}/messages/events/$.contentType=application%2Fjson%3Bcharset%3Dutf-8```
299+
```devices/{device_id}/messages/events/$.ct=application%2Fjson%3Bcharset%3Dutf-8```
300300

301301
For more information, see [Messaging developer's guide](iot-hub-devguide-messaging.md).
302302

0 commit comments

Comments
 (0)