If you invoke getBuffer() on org.apache.activemq.artemis.api.core.Message
that's going to give you the whole message buffer (i.e. all headers,
properties, internal stuff, etc.).  I think what you want is just the
"body" of the message so you should cast the message to
org.apache.activemq.artemis.api.core.ICoreMessage and invoke
getReadOnlyBodyBuffer().  I think that will also eliminate any need to copy
the message (which is quite costly).


Justin

On Mon, Mar 19, 2018 at 9:23 AM, cnadukula <[email protected]> wrote:

> hi guys , any update for me on this?
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html
>

Reply via email to