[ 
https://issues.apache.org/activemq/browse/AMQNET-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61223#action_61223
 ] 

Timothy Bish commented on AMQNET-272:
-------------------------------------

K, I'll fix the NMS BytesMessage Test so it calls the read only check before it 
does the equality check which calls reset.

Its odd that its not in Read-Only mode since the Connection class should be 
doing that in OnMessage.

> Received BytesMessages should be in read-only mode by default
> -------------------------------------------------------------
>
>                 Key: AMQNET-272
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-272
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ
>    Affects Versions: 1.3.1
>         Environment: Windows 7, .NET 3.5
>            Reporter: Jim Gomes
>            Assignee: Jim Gomes
>             Fix For: 1.4.0
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> When a BytesMessage (accessed via the IBytesMessage interface) is received, 
> it is in write-only mode.  The most likely thing that will be done with a 
> received message is to read the contents of that message.  Therefore, the 
> message should be placed into read-only mode by default when it is received.

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

Reply via email to