Github user mtaylor commented on the issue:
https://github.com/apache/activemq-artemis/pull/1713
@clebertsuconic @michaelandrepearce We actually already have
ClientPacketDecoder and ServerPacketDecoder which are supposed to be used to
encapsulate the decoding logic. Why not just implement a new
ServerPacketDecoder1_4. This gets set up on connection entry so you have the
version info already. We don't use an encoder on the way out, but we could
easily add something similar?---
