Amqp::Queue
High-level queue wrapper for amqp-client.cr-style migration code. New code can use Channel methods directly.
Constructors
Instance methods
bind(exchange : String, routing_key : String = "", no_wait : Bool = false, args arguments : Arguments | NamedTuple = Arguments.new) : self
Sourcechannel
Sourceconsumer_count
Sourcemessage_count
Sourcename
Sourcepublish(body : Bytes, mandatory : Bool = false, immediate : Bool = false, props properties : Properties = Properties.new) : UInt64
Sourcepublish(body : String, mandatory : Bool = false, immediate : Bool = false, props properties : Properties = Properties.new) : UInt64
Sourcepublish(io : IO, bytesize : Int, mandatory : Bool = false, immediate : Bool = false, props properties : Properties = Properties.new) : UInt64
Sourcepublish(body : Bytes, mandatory : Bool = false, immediate : Bool = false, props properties : Properties = Properties.new, &callback : Bool -> Nil) : UInt64
Sourcepublish(body : String, mandatory : Bool = false, immediate : Bool = false, props properties : Properties = Properties.new, &callback : Bool -> Nil) : UInt64
Sourcepublish(io : IO, bytesize : Int, mandatory : Bool = false, immediate : Bool = false, props properties : Properties = Properties.new, &callback : Bool -> Nil) : UInt64
Sourcepublish_confirm(body : Bytes, mandatory : Bool = false, immediate : Bool = false, props properties : Properties = Properties.new, timeout : Time::Span = 30.seconds) : Bool
Sourcepublish_confirm(body : String, mandatory : Bool = false, immediate : Bool = false, props properties : Properties = Properties.new, timeout : Time::Span = 30.seconds) : Bool
Sourcepublish_confirm(io : IO, bytesize : Int, mandatory : Bool = false, immediate : Bool = false, props properties : Properties = Properties.new, timeout : Time::Span = 30.seconds) : Bool
Sourcepurge
Sourcesubscribe(tag : String = "", no_ack : Bool = true, exclusive : Bool = false, block : Bool = false, args arguments : Arguments | NamedTuple = Arguments.new, work_pool : Int32 = 1, &callback : DeliverMessage -> Nil) : String
Sourceunbind(exchange : String, routing_key : String = "", args arguments : Arguments | NamedTuple = Arguments.new) : self
Source