Description
NMS MSMQ code tries to set the Label property of messages to the NMSType of the NMS message, even if that property isn't defined. Setting the property to null fails with an exception:
Unhandled Exception: System.ArgumentNullException: Value cannot be null. Parameter name: value at System.Messaging.Message.set_Label(String value) at MSMQ.DefaultMessageConverter.ToMsmqMessage(IMessage message) at MSMQ.MessageProducer.Send(IDestination destination, IMessage imessage, Boolean persistent, Byte priority, TimeSpan timeToLive) at MSMQ.MessageProducer.Send(IDestination destination, IMessage message) at MSMQ.MessageProducer.Send(IMessage message)