Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-69

Various DefaultMessageConverter issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • MSMQ
    • None
    • Patch Available

    Description

      1) ToMsmqMessage() does not handle the actual message body

      2) answer.TimeToBeReceived = message.NMSExpiration seems to make the message expire immediately (since the TimeSpan structure is initialised to 00:00:00)

      3) answer.Label = message.NMSType raises an exception when NMSType is null (per AMQNET-67)

      4) The MSMQ message.CorrelationId, message.DestinationQueue and message.TimeToBeReceived properties all raise InvalidOperationException when accessed, if the message doesn't define a value

      5) Accessing the message.Body property raises an exception unless an IMessageFormatter has been provided.

      The attached patch addresses these problems, but only provides support for BytesMessage instances. This seems better than no support for any kind of message though? Made available under ASF license.

      Attachments

        Activity

          People

            jstrachan James Strachan
            dholroyd David Holroyd
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: