[
https://issues.apache.org/jira/browse/AMQNET-625?focusedWorklogId=344767&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-344767
]
ASF GitHub Bot logged work on AMQNET-625:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Nov/19 03:32
Start Date: 16/Nov/19 03:32
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 byte 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 bytes 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: 344767)
Time Spent: 0.5h (was: 20m)
> 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: 0.5h
> 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)