27.01.2014 Views

AMQP Specification Transport

AMQP Specification Transport

AMQP Specification Transport

SHOW MORE
SHOW LESS

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 />

Framing<br />

2.3 Frame Body<br />

The frame body encodes a command or control operation. The operation is encoded as a struct that identifies<br />

both the command or control being sent, as well as the field values for the operation. The encoding of a<br />

struct is fully defined in the basic-types section.<br />

+-------------------------------------------+<br />

24 | op-size |<br />

+-------------------------------------------+<br />

28 | op-code | field-packing-flags |<br />

+-------------------------------------------+<br />

32 | fields |<br />

| : |<br />

| : |<br />

+-------------------------------------------+<br />

2.4 Empty Frames<br />

Empty control frames are used to generate artificial traffic as needed to satisfy the negotiated heartbeat<br />

interval.<br />

Empty command frames are used to exchange session state variables without sending an additional<br />

command. The sync bit when set on an empty command frame is semantically equivalent to retroactively<br />

setting the sync flag on the preceeding command.<br />

<strong>AMQP</strong> <strong>Transport</strong> v. 1-0 Page 5 of 83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!