def config_path=(path)
      config_file = YAML.load_file(path)
      config.merge!(config_file)
      setup_rabbitmq_opts
    rescue Errno::ENOENT => e
      self.host = "localhost"
      logger.error "Could not find a baton configuration file at #{path}"
    end
def config_path=(path)
      config_file = YAML.load_file(path)
      config.merge!(config_file)
      setup_rabbitmq_opts
    rescue Errno::ENOENT => e
      self.host = "localhost"
      logger.error "Could not find a baton configuration file at #{path}"
    end
Public: Loads the config file given as parameter and sets up RabbitMQ's options.

 path - A file path representing a config file

 Examples

   config_file = "/path/to/file"

 Returns nothing.
 Raises Errno::ENOENT if file cannot be found.