Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-1424

Openwire not work with different tightEncoding options

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.4.0
    • OpenWire
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              gaohoward Howard Gao
              gaohoward Howard Gao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: