AMQP Specification Transport
AMQP Specification Transport
AMQP Specification Transport
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>AMQP</strong> <strong>Specification</strong>.<br />
Derived-types<br />
Example<br />
only included if corresponding flags are set<br />
|<br />
+---------+---------+<br />
| | |<br />
2 octets \|/ \|/ \|/<br />
+----------+---------+---------+---------+------<br />
| flags /| field-1 |\field-2 |\field-3 |\ ...<br />
+--------/-+---------+-\-------+-\-------+-\----<br />
/ / \ \ \ \ \ \<br />
/ / \ \ \ \ \ \<br />
/ / \ \ \ \ \ \<br />
/ / \ \ \ \ \ \<br />
/ / \ \ \ \ \ \<br />
/ / \ \ \ \ \ \<br />
/ / multiple=true \ \ \ \ \ \<br />
/ / \ \ \ \ \ \<br />
/ /n \ \ \ \ \ \<br />
+-------+---------+-----+---------+ \ +---------+<br />
| count | value-1 | ... | value-n | \| value |<br />
+-------+---------+-----+---------+ +---------+<br />
4 OCTET<br />
7.3 Records<br />
An <strong>AMQP</strong> record defines a compound type similar to a struct. Unlike structs, records are encoded without<br />
packing flags, and each field must always be present on the wire.<br />
Example<br />
always present<br />
|<br />
+---------+---------+<br />
| | |<br />
\|/ \|/ \|/<br />
+---------+---------+---------+------<br />
/| field-1 |\field-2 |\field-3 |\ ...<br />
/ +---------+-\-------+-\-------+-\----<br />
/ / \ \ \ \ \ \<br />
/ / \ \ \ \ \ \<br />
/ / \ \ \ \ \ \<br />
/ / \ \ \ \ \ \<br />
/ / \ \ \ \ \ \<br />
/ / \ \ \ \ \ \<br />
/ / multiple=true \ \ \ \ \ \<br />
/ / \ \ \ \ \ \<br />
/ /n \ \ \ \ \ \<br />
+-------+---------+-----+---------+ \ +---------+<br />
| count | value-1 | ... | value-n | \| value |<br />
+-------+---------+-----+---------+ +---------+<br />
4 OCTET<br />
<strong>AMQP</strong> <strong>Transport</strong> v. 1-0 Page 83 of 83