class

AMQProxy::Upstream

Inherits Reference / Object

Constants

ClientProperties = AMQ::Protocol::Table.new({ connection_name: System.hostname, product: "AMQProxy", version: VERSION, capabilities: { consumer_priorities: true, exchange_exchange_bindings: true, "connection.blocked": true, authentication_failure_close: true, per_consumer_qos: true, "basic.nack": true, direct_reply_to: true, publisher_confirms: true, consumer_cancel_notify: true, }, })
Log = ::Log.for(self)

Constructors

new(host : String, port : Int32, tls_ctx : OpenSSL::SSL::Context::Client | Nil, credentials, max_upstream_channels : UInt16 = UInt16::MAX)
Source

Instance methods

channels
Source
close(reason = "")
Source
close_channel(id, code, reason)
Source
closed?
Source
open_channel_for(downstream_channel : DownstreamChannel) : UpstreamChannel
Source
read_loop(socket = @socket)

Frames from upstream (to client)

Source
write(frame : AMQ::Protocol::Frame) : Nil

Forward frames from client to upstream

Source

Nested types