LavinMQ::Federation::UpstreamStore
Inherits Enumerable < Reference < Object
Constants
Log = LavinMQ::Log.for("federation.upstream_store")
Constructors
new(vhost : VHost)
SourceInstance methods
add(upstream : Upstream)
SourceWaits for deletes in flight of this queue on this broker, so a link never declares resources that a retired link is about to remove
create_upstream(name, config)
Sourcecreate_upstream_set(name, config)
Sourcedelete_upstream(name)
Sourcedelete_upstream_set(name)
Sourceexchange_bound(exchange : AMQP::Exchange, binding : AMQP::BindingDetails)
Sourceexchange_unbound(exchange : AMQP::Exchange, binding : AMQP::BindingDetails)
Sourceget_set?(name)
Sourcereconcile_link(resource : AMQP::Queue | Exchange, upstream_name : String | Nil, set_name : String | Nil)
Make the resource's links match its policy after a policy (re)apply. A link whose upstream the policy still names is kept untouched: that keeps the upstream queue, and its buffered messages, alive. The other links are stopped and their upstream resources removed.
stop_all
Sourcestop_link(resource : AMQP::Queue | Exchange)
Source