lib/torquebox_inspector.rb
# Returns key data about the Backgroundable job processor.
Returns key data about the Backgroundable job processor.
Returns key data about the Backgroundable job processor .
def bg_status
    {
      processor_status: bg_message_processor['Status'],
      concurrency: bg_message_processor['Concurrency'],
      durable: bg_queue['Durable'],
      paused: bg_queue['Paused'],
      messages_added: bg_queue['MessagesAdded'],
      messages_in_queue: bg_queue['MessageCount'],
      delivering_count: bg_queue['DeliveringCount']
    }
  end
def bg_status { processor_status : bg_message_processor [ 'Status' ] , concurrency : bg_message_processor [ 'Concurrency' ] , durable : bg_queue [ 'Durable' ] , paused : bg_queue [ 'Paused' ] , messages_added : bg_queue [ 'MessagesAdded' ] , messages_in_queue : bg_queue [ 'MessageCount' ] , delivering_count : bg_queue [ 'DeliveringCount' ] } end
Returns key data about the Backgroundable job processor.
Returns key data about the Backgroundable job processor .
# Number of messages ever received? # Number of messages in queue? # Number of messages being delivered to consumers (not yet acknowledged or blocking because the consumer is busy)