class

Amqp::PreparedPublisher

Inherits Reference < Object

Prepared fixed-route publisher for repeated fire-and-forget publishes.

It precomputes the AMQP basic.publish method frame and lets Channel bypass repeated route/method-frame selection on the hot path. Confirm-mode channels deliberately fall back to the normal confirm paths so recovery replay semantics stay identical.

Instance methods

channel
Source
exchange
Source
immediate
Source
mandatory
Source
method_frame
Source
properties
Source
publish(body : Bytes) : UInt64 | Nil
Source
publish(body : String) : UInt64 | Nil
Source
publish_batch(bodies : Array(Bytes)) : Array(UInt64 | Nil)
Source
routing_key
Source