Chuck Rolke created QPID-6314:
---------------------------------

             Summary: [C++ Broker] Decoding AMQP stream with utf32 AmqpValue
                 Key: QPID-6314
                 URL: https://issues.apache.org/jira/browse/QPID-6314
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker, C++ Client
    Affects Versions: 0.30
         Environment: Fedora 19 broker, qpid trunk
            Reporter: Chuck Rolke


Qpidd throws an error 
{noformat}
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)
{noformat}
when it receives the following byte stream from Amqp.Net Lite:
{noformat}
  00 53 77 73 00 00 00 41
{noformat}
As I interpret the stream it means:
{noformat}
  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'
{noformat}
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?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to