activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Holroyd (JIRA)" <>
Subject [jira] Created: (AMQNET-67) System.Messaging.Message.Label can't be set to null
Date Thu, 27 Sep 2007 21:18:23 GMT
System.Messaging.Message.Label can't be set to null

                 Key: AMQNET-67
             Project: ActiveMQ .Net
          Issue Type: Bug
          Components: MSMQ
            Reporter: David Holroyd
            Assignee: James Strachan
         Attachments: DefaultMessageConverter_null_label_check-patch.diff

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)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message