Howard Gao created ARTEMIS-1424:
-----------------------------------
Summary: Openwire not work with different tightEncoding options
Key: ARTEMIS-1424
URL: https://issues.apache.org/jira/browse/ARTEMIS-1424
Project: ActiveMQ Artemis
Issue Type: Bug
Components: OpenWire
Affects Versions: 2.3.0
Reporter: Howard Gao
Assignee: Howard Gao
Fix For: 2.4.0
If message senders and receivers uses different wireformat.tightEncodingEnabled
options, broker will get marshalling problem. This is because when openwire
messages are converted to core messages, and later these core messages
converted to openwire messages, the broker uses a mashaller that comes with the
connection used to carry the messages.
For example, if a producer sents a message using option
"wireformat.tightEncodingEnabled=false" and a receiver tries to receive it
using 'true' for the same option, it'll never get it because the broker will
fail to use a "tight encoding" marshaller to decode a 'loose encoded' message.
To fix the problem, we always use 'tight encoding' for internal message
converters.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)