Should the interface require the underlying class to be Serializable?
One use case might be to provide serialization to classes that aren't
natively serializable.
Michael André Pearce wrote:
To help discussion,
A very very basic implementation just to simulate the idea.
https://github.com/michaelandrepearce/activemq-artemis/tree/CustomSerialisation <https://github.com/michaelandrepearce/activemq-artemis/tree/CustomSerialisation>
n.b. doesn’t fully compile is just pseudo impl, nor doesn’t include bits as
discussed below like map/change type to a byte message for compatibility, nor
media type idea.
Cheers
Mike