LavinMQ::AMQP::Exchange
Inherits LavinMQ::SortableJSON < LavinMQ::Stats < LavinMQ::PolicyTarget < LavinMQ::Exchange < LavinMQ::SortableJSON < Reference < Object
Constants
REPUBLISH_HEADERS = {"x-head", "x-tail", "x-from"}
Constructors
Instance methods
alternate_exchange
Sourcearguments
Sourceauto_delete?
Sourcebinding_count
Number of bindings on this exchange. Counted cheaply, without allocating
the full bindings_details array.
bindings_details
No return-type restriction: AMQP exchanges return Array(AMQP::BindingDetails)
while MQTT::Exchange overrides this to return Array(MQTT::SubscriptionDetails).
close
Sourcededup_count
Sourcedelayed?
Sourcedetails_tuple
Sourcedurable?
Sourceeach_destination(routing_key : String, headers : AMQP::Table | Nil, & : LavinMQ::Queue | LavinMQ::Exchange -> )
Sourcefind_queues(routing_key : String, headers : AMQP::Table | Nil, queues : Set(AMQP::Queue) = Set(AMQP::Queue).new, exchanges : Set(AMQP::Exchange) = Set(AMQP::Exchange).new) : Nil
Sourcehandle_arguments
Sourcein_use?
Sourceinternal?
Sourcematch?(type, durable, auto_delete, internal, arguments)
Sourcematch?(frame : AMQP::Frame)
Sourcename
Sourcepublish(msg : Message, immediate : Bool, queues : Set(AMQP::Queue) = Set(AMQP::Queue).new, exchanges : Set(AMQP::Exchange) = Set(AMQP::Exchange).new) : PublishResult
Sourcepublish_in_count
Sourcepublish_out_count
Sourceroute_msg(msg : Message, queues : Set(AMQP::Queue), exchanges : Set(AMQP::Exchange)) : PublishResult
Sourceroute_msg(msg : Message) : PublishResult
Sourceroutes_amqp_messages?
Whether messages routed in from AMQP, e.g. dead-lettered, reach destinations. MQTT exchanges only route MQTT publishes.
stats_details
Sourceto_json(json : JSON::Builder)
Sourcetype
Sourceunroutable_count
Sourceupdate_rates
Sourcevhost
Source