public static void SendFailedMessagesTo(this EndpointConfiguration config, string errorQueue) { Guard.AgainstNull(nameof(config), config); Guard.AgainstNullAndEmpty(nameof(errorQueue), errorQueue); config.Settings.Set("errorQueue", errorQueue); } }