[ 
https://issues.apache.org/jira/browse/AMQNET-625?focusedWorklogId=344756&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-344756
 ]

ASF GitHub Bot logged work on AMQNET-625:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Nov/19 02:35
            Start Date: 16/Nov/19 02:35
    Worklog Time Spent: 10m 
      Work Description: michaelandrepearce commented on issue #48: AMQNET-625: 
Content Property of IBytesMessage should be idempotent
URL: https://github.com/apache/activemq-nms-amqp/pull/48#issuecomment-554595838
 
 
   Can you add a test where when bye message is 24 bytes long, and three read 
calls with a dest byte array is size 8 bytes. Expected out come is first read 
returns first 8 bytes aka byes in position 0-7, second read returns bytes 
position 8-13 , and last read returns bytes in position 14 to 23. Test should 
include a further read which obviously would not return data as no further 
bytes to be read unless message is reset 
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 344756)
    Time Spent: 20m  (was: 10m)

> byte[] Content property of IBytesMessage is accessible only once
> ----------------------------------------------------------------
>
>                 Key: AMQNET-625
>                 URL: https://issues.apache.org/jira/browse/AMQNET-625
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: AMQP
>            Reporter: Kamil Nowak
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> byte[] Content property of IBytesMessage is accessible only once. Further 
> readings yield byte array with all zeroes assigned.
> *Steps to reproduce:*
> Put a breakpoint in a method which handles the upcoming messaging in the 
> consumer. This results in a reading operation of the byte[] Content of a 
> message of type IBytesMessage. Therefore, further reading operations yield 
> the array with all elements having the '0' assigned.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to