public SqlServerPollingDequeueStrategy( LocalConnectionParams locaConnectionParams, ReceiveStrategyFactory receiveStrategyFactory, IQueuePurger queuePurger, SecondaryReceiveConfiguration secondaryReceiveConfiguration, TransportNotifications transportNotifications, RepeatedFailuresOverTimeCircuitBreaker circuitBreaker, ConnectionFactory connectionFactory, PurgeExpiredMessagesParams purgeExpiredMessagesParams) { this.locaConnectionParams = locaConnectionParams; this.receiveStrategyFactory = receiveStrategyFactory; this.queuePurger = queuePurger; this.secondaryReceiveConfiguration = secondaryReceiveConfiguration; this.transportNotifications = transportNotifications; this.circuitBreaker = circuitBreaker; this.connectionFactory = connectionFactory; this.purgeExpiredMessagesParams = purgeExpiredMessagesParams; }
public ExpiredMessagesPurger(TableBasedQueue queue, Func <SqlConnection> openConnection, PurgeExpiredMessagesParams parameters) { this.queue = queue; this.openConnection = openConnection; this.parameters = parameters; }