void SetDefault()
{
string schemeUpper = this.Scheme.ToUpper();
if (schemeUpper == Amqps)
{
this.UseSsl = true;
}
if (this.Port == -1)
{
if (this.UseSsl)
{
this.Port = AmqpsPort;
}
else if (schemeUpper == Amqp)
{
this.Port = AmqpPort;
}
}
if (this.Path == null)
{
this.Path = "/";
}
}
}