Method: Bunny::Queue#consumer_count

Defined in:
lib/bunny/queue.rb

#consumer_countInteger

Returns How many active consumers the queue has.

Returns:

  • (Integer)

    How many active consumers the queue has



363
364
365
366
# File 'lib/bunny/queue.rb', line 363

def consumer_count
  s = self.status
  s[:consumer_count]
end