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

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