Expand description

AMQP types manipulation library

amq-protocol-types is a library aiming at providing an implementation/abstraction around AMQP types.

It implements the list of the different kind of types available, a value holder and serialization.deserialization facilities.

Modules

Helpers to handle AMQP flags.

Generation utilities for the various AMQP types.

Parsing utilities for the various AMQP types.

Structs

An array of bytes (RabbitMQ specific)

A Decimal value composed of a scale and a value

An array of AMQPValue

A Map<String, AMQPValue>

A String

A String (deprecated)

Enums

Enumeration referencing all the available AMQP types

Enumeration referencing the possible AMQP values depending on the types

Type Definitions

A bool

A Channel identifier

The size of a chunk of a delivery’s payload

The number of consumers

A delivery tag

A f64

A f32

the size of an AMQP frame

The maximum heartbeat interval

An identifier (class id or method id)

An i32

A u32

The number of messages

The size of a delivery’s payload

A reply code (for closing channels and connections)

An i16

A u16

A timestamp (u64)

No value