class

AMQP::Client::Channel

Inherits Reference < Object

Constructors

new(inner : Amqp::Channel)
Source

Instance methods

basic_ack(delivery_tag : UInt64, multiple : Bool = false) : Nil
Source
basic_cancel(consumer_tag : String, no_wait : Bool = false) : Nil
Source
basic_consume(queue : String, tag : String = "", no_ack : Bool = true, exclusive : Bool = false, block : Bool = false, args arguments = Arguments.new, work_pool : Int32 = 1, &callback : DeliverMessage -> Nil) : String
Source
basic_get(queue : String, no_ack : Bool = true) : GetMessage | Nil
Source
basic_nack(delivery_tag : UInt64, multiple : Bool = false, requeue : Bool = true) : Nil
Source
basic_publish(body : Bytes, exchange : String, routing_key : String = "", mandatory : Bool = false, immediate : Bool = false, props properties = Properties.new) : UInt64
Source
basic_publish(body : String, exchange : String, routing_key : String = "", mandatory : Bool = false, immediate : Bool = false, props properties = Properties.new) : UInt64
Source
basic_publish(io : IO, exchange : String, routing_key : String = "", mandatory : Bool = false, immediate : Bool = false, props properties = Properties.new) : UInt64
Source
basic_publish(body : Bytes, exchange : String, routing_key : String = "", mandatory : Bool = false, immediate : Bool = false, props properties = Properties.new, &callback : Bool -> Nil) : UInt64
Source
basic_publish(io : IO, exchange : String, routing_key : String = "", mandatory : Bool = false, immediate : Bool = false, props properties = Properties.new, &callback : Bool -> Nil) : UInt64
Source
basic_reject(delivery_tag : UInt64, requeue : Bool = true) : Nil
Source
close
Source
closed?
Source
confirm_select
Source
exchange(name : String, type : String, passive : Bool = false, durable : Bool = true, internal : Bool = false, auto_delete : Bool = false, args arguments = Arguments.new) : Exchange
Source
exchange_delete(name : String, if_unused : Bool = false) : Nil
Source
inner
Source
prefetch(count : UInt16, *, global : Bool = false) : Nil
Source
queue(name : String = "", passive : Bool = false, durable : Bool = true, exclusive : Bool = false, auto_delete : Bool = false, args arguments = Arguments.new) : Queue
Source
queue_bind(queue : String, exchange : String, routing_key : String = "", args arguments = Arguments.new, no_wait : Bool = false) : Nil
Source
queue_declare(name : String = "", passive : Bool = false, durable : Bool = false, exclusive : Bool = false, auto_delete : Bool = false, no_wait : Bool = false, args arguments = Arguments.new)
Source
queue_delete(name : String, if_unused : Bool = false, if_empty : Bool = false) : UInt32
Source
tx_commit
Source
tx_rollback
Source
tx_select
Source
wait_for_confirms(timeout : Time::Span = 60.seconds) : Bool
Source

Nested types