public static void ApplyConnectionString(this TransportExtensions <RabbitMQTransport> transport, string connectionString) { var builder = new DbConnectionStringBuilder { ConnectionString = connectionString }; if (builder.GetBooleanValue("DisableRemoteCertificateValidation")) { transport.DisableRemoteCertificateValidation(); } if (builder.GetBooleanValue("UseExternalAuthMechanism")) { transport.UseExternalAuthMechanism(); } transport.ConnectionString(connectionString); }