Ejemplo n.º 1
0
 public RedisExchangeSubscriberService(
     IConnectionMultiplexer connectionMultiplexer,
     IExchangeSubscribersResolver exchangeSubscribersResolver,
     IMessageSerializer messageSerializer)
 {
     this.connectionMultiplexer = connectionMultiplexer;
     database = connectionMultiplexer.GetDatabase();
     this.exchangeSubscribersResolver = exchangeSubscribersResolver;
     this.messageSerializer           = messageSerializer;
 }
Ejemplo n.º 2
0
 public ExchangeSubscriberService(ICacheClient cacheClient, IExchangeSubscribersResolver exchangeSubscribersResolver)
 {
     _cacheClient = cacheClient;
     _exchangeSubscribersResolver = exchangeSubscribersResolver;
 }