Method: Bunny::Queue#message_count

Defined in:
lib/bunny/queue.rb

#message_countInteger

Returns How many messages the queue has ready (e.g. not delivered but not unacknowledged).

Returns:

  • (Integer)

    How many messages the queue has ready (e.g. not delivered but not unacknowledged)



357
358
359
360
# File 'lib/bunny/queue.rb', line 357

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