Publish to an exchange
The producer sends Basic.Publish to an exchange with a routing key. It never pushes directly into a consumer.
Trace one AMQP message from publisher to exchange, queue, consumer acknowledgment, requeue, dead letter, or mandatory return.
Send one message through an AMQP broker and watch the separate reliability loops: publisher confirm protects the publisher-to-broker handoff, while consumer acknowledgements control what happens after delivery.
The producer sends Basic.Publish to an exchange with a routing key. It never pushes directly into a consumer.
The exchange checks bindings. If a route exists, the broker places a copy into the matched queue.
Publisher confirms tell the sender the broker accepted the message. They do not mean the consumer processed it.
Manual ACK removes the message. Reject, NACK, or a consumer crash can requeue or dead-letter it.
The message is accepted by the broker, routed to a queue, delivered to a consumer, and removed only after the consumer ACKs it.
The channel and bindings are ready. Publish the message and follow which party confirms which part of the journey.
1. Channel.Open and Queue.Bind complete. 2. Waiting for Basic.Publish.
Basic.Ack means the broker accepted responsibility for the publish.prefetch=1 keeps one in-flight message per consumer.requeue=false can route to a DLX.Inspect direct, topic, fanout, and headers binding decisions.
Dead Letter ExchangeFollow failed messages into a DLX and DLQ with x-death evidence.
AMQP FramesReview frame structure and channel multiplexing.
Virtual HostsSee how broker namespaces isolate applications and permissions.