class AMQProxy::Upstream
- AMQProxy::Upstream
- Reference
- Object
Defined in:
amqproxy/upstream.crConstant Summary
-
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
Instance Method Summary
- #channels
- #close(reason = "")
- #close_channel(id, code, reason)
- #closed?
- #open_channel_for(downstream_channel : DownstreamChannel) : UpstreamChannel
-
#read_loop(socket = @socket)
Frames from upstream (to client)
-
#write(frame : AMQ::Protocol::Frame) : Nil
Forward frames from client to upstream
Constructor Detail
def self.new(host : String, port : Int32, tls_ctx : OpenSSL::SSL::Context::Client | Nil, credentials)
#