public SqlServerPollingDequeueStrategy(
     LocalConnectionParams locaConnectionParams,
     ReceiveStrategyFactory receiveStrategyFactory,
     IQueuePurger queuePurger,
     SecondaryReceiveConfiguration secondaryReceiveConfiguration,
     TransportNotifications transportNotifications,
     RepeatedFailuresOverTimeCircuitBreaker circuitBreaker)
 {
     this.locaConnectionParams          = locaConnectionParams;
     this.receiveStrategyFactory        = receiveStrategyFactory;
     this.queuePurger                   = queuePurger;
     this.secondaryReceiveConfiguration = secondaryReceiveConfiguration;
     this.transportNotifications        = transportNotifications;
     this.circuitBreaker                = circuitBreaker;
 }
Exemplo n.º 2
0
 public QueuePurger(SecondaryReceiveConfiguration secondaryReceiveConfiguration, LocalConnectionParams localConnectionParams)
 {
     this.secondaryReceiveConfiguration = secondaryReceiveConfiguration;
     this.localConnectionParams         = localConnectionParams;
 }
Exemplo n.º 3
0
 public QueuePurger(SecondaryReceiveConfiguration secondaryReceiveConfiguration, LocalConnectionParams localConnectionParams, ConnectionFactory sqlConnectionFactory)
 {
     this.secondaryReceiveConfiguration = secondaryReceiveConfiguration;
     this.localConnectionParams         = localConnectionParams;
     this.sqlConnectionFactory          = sqlConnectionFactory;
 }