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

Openwire client can't receive compressed messages

    XMLWordPrintableJSON

Details

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

    Description

      When openwire client uses compressed option to send messages (jms.useCompression=true) openwire client failed to receive them. The reason is in OpenwireMessageConverter.toAMQMessage():

      1. message.setContent() should be called after setting properties (It will cause the compressed content to decompressed before delivering to clients)
      2. message.onSend() should not be called here (it should be used by producers. If used here it changes the internal flags of the message and cause receive to fail).

      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: