Re: [rabbitmq-users] AMQP 0-9-1 data types

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [rabbitmq-users] AMQP 0-9-1 data types

Michael Klishin-4
 On 4 August 2014 at 03:24:08, Matt Broadstone ([hidden email]) wrote:
> > I guess my question is: does RabbitMQ follow the AMQP 0-9-1 spec  
> completely, but change these types ONLY in the case of Table Fields?  

I believe everything on
[1] is still relevant. See 4.2.4 and 4.2.5 in [1]. The data type prefixes are only used
in tables (maps, dictionaries).

When in doubt, take a look at Rabbit's binary codec, which is fairly declarative.

Some particularly relevant parts:

Lines 707-1232 in the [generated, so not in the repo] AMQP 0-9-1 framing code:
https://gist.github.com/michaelklishin/89bd9ba027bd5b4c31c1

Table parser and generator:
http://hg.rabbitmq.com/rabbitmq-server/file/dba10965c62e/src/rabbit_binary_generator.erl#l116
http://hg.rabbitmq.com/rabbitmq-server/file/dba10965c62e/src/rabbit_binary_parser.erl#l52

1. https://www.rabbitmq.com/amqp-0-9-1-errata.html
2. http://www.rabbitmq.com/resources/specs/amqp0-9-1.pdf
--  
MK  

Staff Software Engineer, Pivotal/RabbitMQ
_______________________________________________
rabbitmq-discuss mailing list has moved to https://groups.google.com/forum/#!forum/rabbitmq-users,
please subscribe to the new list!

[hidden email]
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Loading...