activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <jira+amq...@apache.org>
Subject [jira] Created: (AMQNET-193) Add support for read-only bodies and properties for all of the NMS message types
Date Wed, 07 Oct 2009 19:13:52 GMT
Add support for read-only bodies and properties for all of the NMS message types
--------------------------------------------------------------------------------

                 Key: AMQNET-193
                 URL: https://issues.apache.org/activemq/browse/AMQNET-193
             Project: ActiveMQ .Net
          Issue Type: Improvement
          Components: ActiveMQ
    Affects Versions: 1.1.0
            Reporter: Timothy Bish
            Assignee: Jim Gomes
            Priority: Minor
             Fix For: 1.2.0


The StreamMessage and BytesMessage now support read-only and write-only states for the message
bodies, the other messages need to be updated to honor the read-only states as well.

* TextMessage should throw MessageNotWritableException in the Set method for Text.
* MapMessage should throw MessageNotWritableException in the Set methods for the body.
* all messages should have read-only states for the Properties.
* calling ClearBody on any message returns it to either Write-Only or read / write mode.
* calling ClearProperties on any message returns them to Read / Write mode.

Messages are tagged as read-only when they are sent and when received.

This will result in the message's behaving the same as their JMS and CMS counterparts.




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


Mime
View raw message