Method: AMQ::Client::Async::Adapter#vhost

Defined in:
lib/amq/client/async/adapter.rb

#vhostString

vhost this connection uses. Default is “/”, a historically estabilished convention of RabbitMQ and amqp gem.

Returns:

  • (String)

    vhost this connection uses



293
294
295
# File 'lib/amq/client/async/adapter.rb', line 293

def vhost
  @settings.fetch(:vhost, "/")
end