activemq-dev mailing list archives

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


David Holroyd commented on AMQNET-67:

I can't see a way to change the status of the patch to grant use under the ASF license, so
let me just state here that this was the intention.

> System.Messaging.Message.Label can't be set to null
> ---------------------------------------------------
>                 Key: AMQNET-67
>                 URL:
>             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:
> {noformat}
> 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)
> {noformat}

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

View raw message