Putting Message in Websphere MQ via C# has different data length than manually putting the same message
MQMessage queueMessage = new MQMessage(); queueMessage.WriteString(strInputMsg); queueMessage.Format = MQC.MQFMT_STRING; MQPutMessageOptions queuePutMessageOptions = new MQPutMessageOptions(); Queue.Put(queueMessage, queuePutMessageOptions); Using C#, with the above code, when I input the message into the queue, the data length of the message is 3600. When I manually input the message into the queue by right clicking the queue and selecting Put Test Message option, the data length of the message is 1799. I am really confused why this is the case. The message in both cases is an xml string with