alaendle commented on PR #48:
URL: https://github.com/apache/activemq-nms-amqp/pull/48#issuecomment-2419319421

   I "rediscovered" this issue (also can be found here: 
https://issues.apache.org/jira/browse/AMQNET-625), can anything be done to get 
the PR incorporated? The current behaviour is really annoying if you play 
around in test code with `.Content.Length` and afterwards take a look at the 
`.Content` and only see a lot of  `null`s 🤦‍♂️. For sure it is bad style to 
re-access/copy the underlying byte array, but from an equational reasoning 
standpoint it is hard to explain why `var x = msg.Content; var l = 
msg.Content.Length;` leads to a different result than swapping the statements 
`var l = msg.Content.Length; var x = msg.Content;` 😄 


-- 
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.

To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org
For additional commands, e-mail: gitbox-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to