public BusService(ILogger <CustomerService> logger, IMqConfig mqConfig) { this._mqConfig = mqConfig; this._logger = logger; CreateConnection(); }
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; }