Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6314

[C++ Broker] Decoding AMQP stream with utf32 AmqpValue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.30
    • None
    • C++ Broker, C++ Client
    • None
    • Fedora 19 broker, qpid trunk

    Description

      Qpidd throws an error

      2015-01-14 16:15:43 [Broker] error 
      qpid.10.0.0.1:5672-10.1.1.1:11292: 
      Expected descriptor of type ulong or symbol; found 0 
      (/home/chug/svn/qpid/cpp/src/qpid/amqp/Decoder.cpp:301)
      

      when it receives the following byte stream from Amqp.Net Lite:

        00 53 77 73 00 00 00 41
      

      As I interpret the stream it means:

        00          - constructor
        53          - smallulong, fixed-width, 1 byte value
        77          - amqp-value, section contains a single AMQP value
        73          - utf32, fixed-width, 4 byte value
        00 00 00 41 - 32-bit 'A'
      

      AmqpNet.Lite is trying to send a single utf character and the stream makes sense. But both Qpidd and Wireshark AMQP dissector have a problem with this input stream.

      Can any AMQP gurus offer an opinion?

      Attachments

        Activity

          People

            gsim Gordon Sim
            chug Charles E. Rolke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: