ruststream_lapin/testing/mod.rs
1//! In-process test broker, behind the `testing` feature.
2//!
3//! [`LapinTestBroker`] implements the core `TestableBroker` contract over an in-memory router
4//! so application handlers wired against `RabbitMQ` descriptors can be exercised without a
5//! server: messages fan out synchronously to subscribers matched by exact queue name.
6//!
7//! Scope: queue-name routing, settlement, headers, and buffered transactions. Exchange types,
8//! bindings, dead-lettering, prefetch, and request/reply are transport behavior; exercise them
9//! against a real server (see the crate's integration tests and `AMQP_TEST_URL`).
10
11mod broker;
12mod publisher;
13mod router;
14mod subscriber;
15
16pub use broker::LapinTestBroker;
17pub use publisher::LapinTestPublisher;
18pub use subscriber::{LapinTestMessage, LapinTestSubscriber};