Github user mtaylor commented on the issue:

    https://github.com/apache/activemq-artemis/pull/810
  
    The issue aiui is that the CORE object message encoding adds some 
additional data to the serialized byte stream received from the client, it 
prepends the byte with the length of the binary, I presume this was used in the 
past when reading the binary back from the Journal.   The problem with just 
dumping the byte stream as we were doing previously, is that there's a 
different encoding for CORE vs OpenWire.  This small changes ensures that both 
encodings are the same.  
    
    Another way to approach this would have been to add some extra meta-data to 
the message describing it's content as @tabish121 mentioned with the 
"'application/x-java-serialized-object" type or something similar.  I think we 
can do that as part of the larger task of removing the translations.  Right now 
though, this small change fixes the cross protocol issue.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to