LavinMQ::AMQP::Channel
Inherits LavinMQ::Persister::ConfirmTarget < LavinMQ::SortableJSON < LavinMQ::Stats < LavinMQ::Client::Channel < LavinMQ::SortableJSON < Reference < Object
Constants
Log = LavinMQ::Log.for("amqp.channel")
Constructors
Instance methods
ack_count
Sourceadd_content(frame)
Sourcebasic_ack(frame)
Sourcebasic_get(frame)
Sourcebasic_nack(frame)
Sourcebasic_qos(frame) : Nil
Sourcebasic_recover(frame) : Nil
Sourcebasic_reject(frame)
Sourcecancel_consumer(consumer : AMQP::Consumer) : Nil
Sourcecancel_consumer(frame)
Sourcecheck_consumer_timeout
Iterate over all unacked messages and see if any has been unacked longer than the queue's consumer timeout
client
SourceCloses the channel from the server side, e.g. from the management API. The client is told why with a Channel::Close frame. Consumers, unacked messages and buffers are released right away, so a client that never replies with Channel::CloseOk can't keep any of them alive.
close
Sourceconfirm_count
Sourceconfirm_select(frame)
Sourceconsume(frame)
Sourceconsumers
Sourceconsumers_size
Sourcedeliver(frame, msg, redelivered = false, flush = true) : Nil
Sourcedeliver_count
Sourcedeliver_get_count
Sourcedeliver_no_ack_count
Sourcedetails_tuple
Sourcedo_confirm_ack(msgid, multiple = false)
SourceNon-blocking; if the 1-slot mailbox is full, the stale msgid is dropped (acks are cumulative).
find_consumer
Sourceflow?
Sourceflush
Sourceget_count
Sourceget_no_ack_count
Sourceglobal_prefetch_count
Sourcehas_capacity
Sourcehas_capacity?
Sourceid
Sourcename
Sourcenext_msg_headers(frame)
Sourceprefetch_count
Sourcepublish_count
Sourceredeliver_count
Sourcereject_count
Sourcereturn_unroutable_count
Sourcerunning?
Sourcesend(frame)
Sourcestart_publish(frame)
Sourcestate
Sourcestats_details
Sourceto_json(json : JSON::Builder)
Sourcetx_commit(frame)
Sourcetx_rollback(frame)
Sourcetx_select(frame)
Sourceunacked
Sourceupdate_rates
Source