[rabbitmq-discuss] Content payload structure
matthias at rabbitmq.com
Thu Aug 15 10:33:46 BST 2013
On 15/08/13 08:24, Nicolai G. wrote:
> I'm sorry for asking you silly questions. But how it influence on the
> interpretation of binary?
I believe the crucial bit of information you missed is that the fields
are ordered. As the spec says: "The property flags are an array of bits
that indicate the presence or absence of each property value *in sequence*."
So, e.g. for basic.publish, content-type is the first field,
corresponding to bit position 1 in the flags, content-encoding is the
second field, corresponding to position 2, etc.
> I've looked at other clients implementation. For Ruby I found some tips
> But where these constants came from?
> Are they documented? or it's just peer2peer knowledge?
They are automatically generated from the specification based on the
More information about the rabbitmq-discuss