Class: Rabbitek::Utils::RabbitObjectNames

Inherits:
Object
  • Object
show all
Defined in:
lib/rabbitek/utils/rabbit_object_names.rb

Overview

Names builder for exchanges, queues, etc.

Class Method Summary collapse

Class Method Details

.retry_or_delayed_bind_exchange(bind_exchange) ⇒ Object



9
10
11
# File 'lib/rabbitek/utils/rabbit_object_names.rb', line 9

def retry_or_delayed_bind_exchange(bind_exchange)
  "#{bind_exchange}.rabbitek.__rod__"
end

.retry_or_delayed_queue(queue_name) ⇒ Object



13
14
15
# File 'lib/rabbitek/utils/rabbit_object_names.rb', line 13

def retry_or_delayed_queue(queue_name)
  "#{queue_name}.rabbitek.__rod__"
end