Github user clebertsuconic commented on the issue:
https://github.com/apache/activemq-artemis/pull/1574
I would first convert a message large to core. Using .toCore() then use
getBufferReadOnly.
I can tweak the code for you if you like. ---
