Since the stream position is not set to 0, the payload is lost. https://github.com/TrakHound/MTConnect.NET/blob/3d6321ab5a6d7630796c4827f6ef4812c28a5e33/adapter/Modules/MTConnect.NET-AdapterModule-MQTT/Module.cs#L189 https://github.com/TrakHound/MTConnect.NET/blob/3d6321ab5a6d7630796c4827f6ef4812c28a5e33/adapter/Modules/MTConnect.NET-AdapterModule-MQTT/Module.cs#L214