Skip to main content

Crate hopf_amqp1

Crate hopf_amqp1 

Source
Expand description

AMQP 1.0 async client for Hopf.

AMQP 1.0 (ISO/IEC 19464) shares only the four-byte AMQP magic with AMQP 0-9-1 (see hopf_amqp); framing, the type system, the connection/session/link model, and messaging semantics are unrelated. This crate targets brokers that speak AMQP 1.0 natively (RabbitMQ 4’s native AMQP 1.0 support, ActiveMQ Artemis amqp://).

Client-only: dial a broker, perform SASL and/or TLS as required, open a connection/session, attach sender/receiver links, and send or receive messages. There is no AMQP 1.0 broker/server implementation in this crate.

§Layout

  • codec — frame encode/decode, the AMQP 1.0 type system, performatives, SASL frame bodies, and message sections
  • client — facade, endpoint, connection/session/link state, Driver / Control SPI

Modules§

client
Async AMQP 1.0 client — hopf-core Runtime / ProtocolHandler based.
codec
AMQP 1.0 wire codec: the type system, frame parser, performatives, SASL frame bodies, and message sections.

Constants§

VERSION
Crate version string from Cargo.toml.