[
https://issues.apache.org/jira/browse/AMQNET-625?focusedWorklogId=345588&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-345588
]
ASF GitHub Bot logged work on AMQNET-625:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 18/Nov/19 21:13
Start Date: 18/Nov/19 21:13
Worklog Time Spent: 10m
Work Description: cjwmorgan-sol commented on issue #48: AMQNET-625:
Content Property of IBytesMessage should be idempotent
URL: https://github.com/apache/activemq-nms-amqp/pull/48#issuecomment-555211010
Sounds good to me. It might be worth adding a comment describing the
behaviour implemented for Content set and get for bytes messages though. Where
get allows read write access to the buffer's bytes and set allows modifying the
Buffer (ie size), or something along those lines. Also that "user always
operates on deep copy of the message". Otherwise developers have to another
layer deep (amqpnetlite) to find out the byte array is safe.
----------------------------------------------------------------
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: 345588)
Time Spent: 1h 20m (was: 1h 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: 1h 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)