class

AMQP::Client::Exchange

Inherits Reference < Object

Constructors

new(channel : Channel, name : String)
Source

Instance methods

bind(source : String, routing_key : String = "", no_wait : Bool = false, args arguments = Arguments.new) : self
Source
channel
Source
name
Source
publish(body : Bytes, routing_key : String = "", mandatory : Bool = false, immediate : Bool = false, props properties = Properties.new) : UInt64
Source
publish(io : IO, routing_key : String = "", mandatory : Bool = false, immediate : Bool = false, props properties = Properties.new) : UInt64
Source
publish(body : Bytes, routing_key : String = "", mandatory : Bool = false, immediate : Bool = false, props properties = Properties.new, &callback : Bool -> Nil) : UInt64
Source
publish(io : IO, routing_key : String = "", mandatory : Bool = false, immediate : Bool = false, props properties = Properties.new, &callback : Bool -> Nil) : UInt64
Source
unbind(source : String, routing_key : String = "", args arguments = Arguments.new, no_wait : Bool = false) : self
Source