class AMQP::Client::Queue

Defined in:

amqp-client/queue.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(channel : Channel, name : String) #

[View source]

Instance Method Detail

def bind(exchange : String, routing_key : String, no_wait = false, args = Arguments.new) #

[View source]
def consumer_count #

[View source]
def delete(if_unused = false, if_empty = false) #

[View source]
def get(no_ack = true) #

[View source]
def message_count #

[View source]
def name : String #

[View source]
def publish(io : IO, bytesize : Int, mandatory = false, immediate = false, props = Properties.new) #

[View source]
def publish(message, mandatory = false, immediate = false, props = Properties.new) #

[View source]
def publish_confirm(io : IO, bytesize : Int, mandatory = false, immediate = false, props = Properties.new) #

[View source]
def publish_confirm(message, mandatory = false, immediate = false, props = Properties.new) #

[View source]
def purge #

[View source]
def subscribe(tag = "", no_ack = true, exclusive = false, block = false, args = Arguments.new, work_pool = 1, &blk : DeliverMessage -> Nil) #

[View source]
def unbind(exchange : String, routing_key : String, args = Arguments.new) #

[View source]
def unsubscribe(consumer_tag) #

[View source]