[
https://issues.apache.org/jira/browse/AMQNET-625?focusedWorklogId=345576&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-345576
]
ASF GitHub Bot logged work on AMQNET-625:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 18/Nov/19 20:57
Start Date: 18/Nov/19 20:57
Worklog Time Spent: 10m
Work Description: Havret commented on issue #48: AMQNET-625: Content
Property of IBytesMessage should be idempotent
URL: https://github.com/apache/activemq-nms-amqp/pull/48#issuecomment-555205408
@cjwmorgan-sol You are correct. I do return direct reference. TBH I don't
know what is the expected behavior. Even if we allow mutating the underlying
message representation, user always operates on deep copy of the message.
----------------------------------------------------------------
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: 345576)
Time Spent: 1h (was: 50m)
> 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: 1h
> 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)