public static IGlobalConfiguration <RabbitMQHost> UseRabbitMQHost( [NotNull] this IGlobalConfiguration configuration) { if (configuration == null) { throw new ArgumentNullException(nameof(configuration)); } var queueHost = new RabbitMQHost(); return(configuration.UseQueueHost(queueHost)); }