class RabbitmqClient::TagsFilter

ExchangeRegistry is a store for all managed exchanges and their details

Public Class Methods

tags() click to toggle source
# File lib/rabbitmq_client/tags_filter.rb, line 6
def self.tags
  config = RabbitmqClient.config
  global_store = config.global_store
  return unless global_store

  global_store.store.select do |key, _value|
    Array(config.whitelist).include? key.downcase.to_sym
  end
end