lib/rrj/tools/gem/config/queues.rb in ruby_rabbitmq_janus-2.6.0.pre.259 vs lib/rrj/tools/gem/config/queues.rb in ruby_rabbitmq_janus-2.6.0.pre.260
- old
+ new
@@ -9,39 +9,29 @@
# @see RubyRabbitmqJanus::Tools::Config
module ConfigQueues
# @return [String] Get to name queue_from (pattern)
def queue_from
@options['queues']['standard']['from'].to_s
- rescue => exception
- p "[queue_from] #{exception}"
end
# @return [String] Get to name queue_to (pattern)
def queue_to
@options['queues']['standard']['to'].to_s
- rescue => exception
- p "[queue_to] #{exception}"
end
# @return [String] Get to name queue_admin_from (pattern)
def queue_admin_from
@options['queues']['admin']['from'].to_s
- rescue => exception
- p "[queue_admin_from] #{exception}"
end
# @return [String] Get to name queue_admin_from (pattern)
def queue_admin_to
@options['queues']['admin']['to'].to_s
- rescue => exception
- p "[queue_admin_to] #{exception}"
end
# @return [String] Get to name queue JanusInstance
def queue_janus_instance
@options['queues']['instance'].to_s
- rescue => exception
- p "[queue_janus_instances] #{exception}"
end
end
end
end