Uploaded image for project: 'Apache QPID Interoperability Test Suite'
  1. Apache QPID Interoperability Test Suite
  2. QPIDIT-9

AMQP type binary fails in QpidJms -> QpidJms test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.1.0
    • None
    • Qpid Jms Shim
    • None

    Description

      The AMQP type binary fails in the QpidJms to QpidJms test with the following error:

      AssertionError: 
          sent:['', '12345', 'Hello, world!', '\x01\x02\x03\x04\x05abcde\x80\x81\xfe\xff']
      received:['', '12345', 'Hello, world!', '\x01\x02\x03\x04\x05abcde\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd']
      

      The underlying issue is that the String.getBytes() method used by the ProtonJmsSender shim does not handle hex values > \x7f (which is the limit of ASCII encoding), so some other means of processing the hex string into a byte[] must be found.

      Attachments

        Activity

          People

            kpvdr Kim van der Riet
            kpvdr Kim van der Riet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: