public AdaptivePollingReceiver( IReceiveStrategy receiveStrategy, TableBasedQueue queue, Action <TransportMessage, Exception> endProcessMessage, RepeatedFailuresOverTimeCircuitBreaker circuitBreaker, TransportNotifications transportNotifications) : base(circuitBreaker) { this.receiveStrategy = receiveStrategy; this.queue = queue; this.endProcessMessage = endProcessMessage; this.transportNotifications = transportNotifications; }
public AdaptivePollingReceiver( IReceiveStrategy receiveStrategy, TableBasedQueue queue, Action <TransportMessage, Exception> endProcessMessage, RepeatedFailuresOverTimeCircuitBreaker circuitBreaker, TransportNotifications transportNotifications) : base(queue.ToString(), circuitBreaker, transportNotifications, TimeSpan.FromMilliseconds(SlowTaskThresholdInMilliseconds)) { this.receiveStrategy = receiveStrategy; this.queue = queue; this.endProcessMessage = endProcessMessage; this.transportNotifications = transportNotifications; }