RabbitMQ
Advanced Message Queuing Protocol (AMQP) 0-9-1 frame structure:
Binary Layout
| Field | Internal Name | Description | Type / Format | Example / Values |
|---|---|---|---|---|
| Type | frame_type | Type of frame | uint8 | 1 = Method, 2 = Header, 3 = Body, 8 = Heartbeat |
| Channel | channel_id | Channel number | uint16 | e.g. 1, 0 for connection-level |
| Size | frame_size | Payload size in bytes | uint32 | e.g. 0x00000014 |
| Payload | payload | Frame-specific data | Binary | Depends on frame_type |
| End | frame_end | Frame terminator | uint8 | Always 0xCE |
Frame Types
| Type | Name | Purpose |
|---|---|---|
1 | Method | AMQP method calls (open, close, publish, etc.) |
2 | Header | Content header with properties |
3 | Body | Message content data |
8 | Heartbeat | Keep-alive signal |