[rabbitmq-discuss] Two questions about AMQP protocol's marshalling/unmarshalling

Simon MacMullen simon at rabbitmq.com
Tue Oct 2 10:48:19 BST 2012


On 02/10/12 10:44, raocheng wrote:
> How about my second question? Does anybody know where can we find the
> definition for each value type (e.g, 0-> bit,  1 --> octet, 2 -> short,
> 3-> long, 4 -> longlong, 5 -> shortstr, 6-> longstr, 7->table, ...)  ?

Gordon already answered it - see section 4.2.1 under "field-value".

However.

The 0-9-1 spec changed at the last minute in this regard for unclear 
reasons. So RabbitMQ does not actually implement what's in the spec - I 
suspect no-one does. See

http://www.rabbitmq.com/amqp-0-9-1-errata.html#section_3

for what we actually implement.

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, VMware


More information about the rabbitmq-discuss mailing list