class EventQ::Queue

Attributes

allow_retry[RW]
allow_retry_back_off[RW]
dlq[RW]
isolated[RW]

Flag to control that the queue runs in isolation of auto creating the topic it belongs to

max_receive_count[RW]
max_retry_attempts[RW]
max_retry_delay[RW]
name[RW]
namespace_delimiter[RW]

Character delimiter between namespace and queue name. Default = '-'

require_signature[RW]
retry_back_off_grace[RW]
retry_back_off_weight[RW]
retry_delay[RW]

Public Class Methods

new() click to toggle source
# File lib/eventq/eventq_base/queue.rb, line 19
def initialize
  @allow_retry = false
  # Default retry back off settings
  @allow_retry_back_off = false
  # Default max receive count is 30
  @max_receive_count = 30
  # Default max retry attempts is 5
  @max_retry_attempts = 5
  # Default max retry_delay is 5000 (5seconds)
  @max_retry_delay = 5000
  # Default require signature to false
  @require_signature = false
  # Default retry delay is 30 seconds
  @retry_delay = 30000
  # This is the amount of times to allow retry to occurr before back off is implemented
  @retry_back_off_grace = 0
  # Multiplier for the backoff retry in case retry_delay is too small
  @retry_back_off_weight = 1
  @isolated = false
end