class

LavinMQ::Federation::Upstream

Inherits Reference < Object

Constructors

new(vhost : VHost, name : String, raw_uri : String, exchange : Nil | String = nil, queue : Nil | String = nil, ack_mode : LavinMQ::Federation::AckMode = DEFAULT_ACK_MODE, expires : Int64 | Nil = DEFAULT_EXPIRES, max_hops : Int64 = DEFAULT_MAX_HOPS, msg_ttl : Int64 | Nil = DEFAULT_MSG_TTL, prefetch : UInt16 = DEFAULT_PREFETCH, reconnect_delay : Time::Span = DEFAULT_RECONNECT_DELAY, consumer_tag = nil)
Source

Instance methods

ack_mode
Source
close

Stop all links without touching upstream resources. Use on broker shutdown.

Source
consumer_tag
Source
delete

Stop all links and remove the resources they created on the upstream broker. Use when the upstream is being explicitly deleted.

Source
dup

Copy the upstream's configuration but give the copy its own, empty link tables. Used by upstream sets that override settings per entry; a plain shallow dup would share @q_links/@ex_links with the original.

Source
exchange
Source
exchange=(exchange : Nil | String)
Source
exchange_bound(federated_exchange : AMQP::Exchange, binding : AMQP::BindingDetails)
Source
exchange_unbound(federated_exchange : AMQP::Exchange, binding : AMQP::BindingDetails)
Source
expires
Source
expires=(expires : Int64 | Nil)
Source
max_hops
Source
max_hops=(max_hops : Int64)
Source
msg_ttl
Source
msg_ttl=(msg_ttl : Int64 | Nil)
Source
name
Source
prefetch
Source
prefetch=(prefetch : UInt16)
Source
queue
Source
queue=(queue : Nil | String)
Source
reconnect_delay
Source
reconnect_delay=(reconnect_delay : Time::Span)
Source
type
Source
upstream_exchange_name(federated_exchange : AMQP::Exchange) : String
Source
upstream_queue_name(federated_exchange : AMQP::Exchange) : String

Names the resources an ExchangeLink creates on the upstream broker

Source
uri=(uri : URI)
Source
vhost
Source

Nested types