public DemoMqService(MqConfig config) : base(config)
 {
     Queues.Add(new QueueInfo()
     {
         ExchangeType = ExchangeType.Direct,
         Name         = "login-message",
         RouterKey    = "pk",
         OnReceived   = OnReceived
     });
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="config"></param>
 /// <param name="vhost"></param>
 public MqConnection(MqConfig config, string vhost)
 {
     _config = config;
     _vhost  = vhost;
 }
 internal MqServiceBase(MqConfig config)
 {
     Config = config;
 }