LavinMQ::AMQP::Stream
Inherits LavinMQ::AMQP::DurableQueue < LavinMQ::AMQP::Queue < LavinMQ::AMQP::Argument::DeadLettering < LavinMQ::AMQP::ArgumentTarget < LavinMQ::AMQP::QueueStats < LavinMQ::Stats < LavinMQ::SortableJSON < LavinMQ::PolicyTarget < Reference < Object
Constants
Arguments that have no meaning for streams. Rejected at queue declare
AND when matched by a policy — otherwise a policy can quietly install
state (e.g. delivery-limit spawning the inherited drop_redelivered
fiber, which dereferences the legacy @rfile that streams don't
maintain) and crash the server.
Class methods
Instance methods
Adds the consumer unless the queue is in exclusive use, checked atomically with the add. Returns false if the consumer was refused for that reason, raises ClosedError if the queue is closed or about to be deleted.
Streams does not support basic_get, so always returns false
The deliver path shifts from the consumer's requeued messages under @msg_store_lock (see StreamMessageStore#shift?). Returns whether there were no requeued messages before.
Consumer-initiated reject (basic.reject and basic.nack): delays via the retry queue if configured
Broker-initiated requeue (channel close, basic.recover): always instant, never via the retry queue