示例#1
0
        public BusService(ILogger <CustomerService> logger, IMqConfig mqConfig)
        {
            this._mqConfig = mqConfig;
            this._logger   = logger;

            CreateConnection();
        }
示例#2
0
 public ICompositeMqFluentConfig Add(IMqConfig config)
 {
     if (_frozen)
     {
         throw new InvalidOperationException("Object is frozen. Cannot Add after Build.");
     }
     _messageQueues.Add(config);
     return(this);
 }
示例#3
0
 public ICompositeMqFluentConfig Add(IMqConfig config)
 {
     if(_frozen) throw new InvalidOperationException("Object is frozen. Cannot Add after Build.");
     _messageQueues.Add(config);
     return this;
 }