I\'m writing messages to a Message Queue in C# as follows:
queue.Send(new Message(\"message\"));
I\'m trying to read the messages as follow
Or you can use
message.Formatter = new System.Messaging.XmlMessageFormatter(new Type[1] { typeof(string) });