Class: AMQP::Client::Connection::Channel::QueueOk

Inherits:
Struct
  • Object
show all
Defined in:
lib/amqp/client/channel.rb

Overview

Response when declaring a Queue

Queue collapse

Instance Attribute Details

#consumer_countInteger

Returns Number of consumers subscribed to the queue at the time of declaration.

Returns:

  • (Integer)

    Number of consumers subscribed to the queue at the time of declaration



152
# File 'lib/amqp/client/channel.rb', line 152

QueueOk = Struct.new(:queue_name, :message_count, :consumer_count)

#message_countInteger

Returns Number of messages in the queue at the time of declaration.

Returns:

  • (Integer)

    Number of messages in the queue at the time of declaration



152
# File 'lib/amqp/client/channel.rb', line 152

QueueOk = Struct.new(:queue_name, :message_count, :consumer_count)

#queue_nameString

Returns The name of the queue.

Returns:

  • (String)

    The name of the queue



152
# File 'lib/amqp/client/channel.rb', line 152

QueueOk = Struct.new(:queue_name, :message_count, :consumer_count)