Bug 433470 - Qpid-0.2-24 does not support AMQP0-9
Summary: Qpid-0.2-24 does not support AMQP0-9
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: beta
Hardware: All
OS: Linux
low
high
Target Milestone: ---
: ---
Assignee: messaging-bugs
QA Contact: Kim van der Riet
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-19 15:00 UTC by Vitaly Mayatskikh
Modified: 2008-03-11 13:59 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-11 13:59:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Vitaly Mayatskikh 2008-02-19 15:00:43 UTC
Description of problem:

Current version of qpidc in mrg-beta repository
(http://ftp.redhat.com/pub/redhat/linux/beta/MRG/RHEL-5/) includes proposals for
the AMQP 0-10 and doesn't work with 0-9 clients

Version-Release number of selected component (if applicable):

I've rebuilt qpidd for Fedora-8 from qpidc-0.2-24.el5.src.rpm

How reproducible:


Steps to Reproduce:
1.Run qpidd
2.echo -e "AMQP\0001\0001\000\0010" | nc -i 1 127.0.0.1 5672 > 123
3.od -t x1 123
  
Actual results:

0000000 0f 01 00 26 00 00 00 00 00 00 00 00 0a 0a 00 08
0000020 00 00 00 00 00 00 00 05 50 4c 41 49 4e 00 00 00
0000040 05 65 6e 5f 55 53 ce
0000047


The first byte (segment begining/endings flags) is from AMQP-104 proposal
(https://wiki.108.redhat.com/jira/browse/AMQP-104), not from AMQP0-9 specification

Expected results:

According to current version (0-9) of Advanced Messaging Queueing Protocol
specification, page 52, qpidd should either send supported protocol version and
close connection, or should support older protocol versions.

Additional info:

Comment 1 Vitaly Mayatskikh 2008-02-19 15:08:31 UTC
Actually, the right echo for 0-9 is 'echo -e "AMQP\0001\0001\000\0011"', but it
doesn't change anything as segment flags are hardcoded to qpid sources

Comment 2 Rafael H. Schloming 2008-02-20 00:44:27 UTC
Qpidd is not supposed to support 0-9. It currently supports a working version of
the 0-10 spec. The final version of the 0-10 spec was voted last week and we
will be updating the broker to support this version over the next month. You can
get the 0-10 final version of the spec here:

https://jira.amqp.org/confluence/display/AMQP/Download



Note You need to log in before you can comment on or make changes to this bug.