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

Core to AMQP conversion BytesMessage corrupts bytes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0, 2.1.0, 2.2.0, 2.3.0
    • 2.4.0
    • None
    • None

    Description

      When sending a Core JMS BytesMessage and consuming via AMQP , the byte array is corrupted, the sent byte[] != received byte[]

      byte length is not equal, it seems the bodybuffer length is not honoured during the conversion (which caters for buffer headers and other offsets)

      Also noted is that when AMQP producer the body is of AMQP type "Data" where as when using Core producer and the broker translates to AMQP the body becomes AMQP type "AmqpValue", this also seems like a miss-behaviour and possibly linked to the issue.

      Attachments

        Issue Links

          Activity

            People

              michael.andre.pearce Michael Andre Pearce
              michael.andre.pearce Michael Andre Pearce
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: