> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Native RabbitMQ

> Capture and publish AMQP 0-9-1 messages on your app.

Follow the [Streams mounting example](https://docs.bijection.com/integrations/native-kafka.md#mount-and-start) with `rabbitmqReceiver` from `@bijectionhq/app-streams` and mode `rabbitmq`. Seal JSON with `username`, `password`, `virtualHost`, `queue` and `epoch`. Use implicit TLS and an AMQP PLAIN principal scoped to one durable queue and the default exchange. Assign a new epoch when that queue is recreated. Give the mount exclusive access to consumption and disable message expiry, dead lettering and overflow eviction for the capture queue.

One page reads at most one new persistent message of up to 24 KiB with `basic.get`. Publishers set a unique, immutable `message_id`. The app uses that ID in the fixed queue epoch as the event key. After a landing commits, a later exchange checks the redelivery's ID and body digest before sending a single `basic.ack` for its current delivery tag. If the acknowledgement already reached the queue, the next delivery can be landed. A changed epoch blocks advancement. Queue-side omission or expiry has no independent continuity witness.

Call `outgoing.publish` with a unique `id`, canonical base64 `data` and `key: null`. The receiver publishes persistently to the queue through the default exchange, requires routing and publisher confirmation, and uses the ID as `message_id`. A lost confirmation is unknown. Both Files and receipts use the mount's `data` label. Queue acknowledgements leave retained Bijection events intact.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.