Github user michaelandrepearce commented on the issue:
https://github.com/apache/activemq-artemis/pull/1684
@RaiSaurabh this isn't what was quite meant, the idea of implementing
Message is to avoid conversion, so it only needs to convert if cross protocol
on consume. You have only extended and kept the conversion to CoreMessage, not
entirely the intent expected.
E.g. the idea is that you have similar to what occurs with AMQPMessage,
that internally it is kept unconverted in AMQP form, so that if AMQP producer
and AMQP consumer, it doesn't convert to CoreMessage.
---