fix issue that message properties are not sent out when using MQTT#39
fix issue that message properties are not sent out when using MQTT#39erich-wang wants to merge 2 commits intoAzure:masterfrom erich-wang:msgProperty
Conversation
|
Hi @erich-wang, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
TTYL, MSBOT; |
| } | ||
|
|
||
| MessageProperty[] messageProperties = message.getProperties(); | ||
| String messagePublishTopic; |
There was a problem hiding this comment.
Thank you for your change. This looks good and is much needed. Can you please also add a test case around this in device\iot-device-client\src\test\java\tests\unit\com\microsoft\azure\sdk\iot\device\transport\mqtt\MqttMessagingTest.java ?
There was a problem hiding this comment.
test case has been added, please review, thanks.
|
Added a new requirement, squashed all the commits and checked in @f9e2af997932722357fa15b8eba13e3bbc2e7d76 commit. Thank you for your contribution. |
the Message's properties are sent out when using AMQP/HTTPS but MQTT