public void Start(Guid distributionPointId, TransactionFileReaderEventDistributionPoint transactionFileReaderEventDistributionPoint) { _distributionPointId = distributionPointId; _headDistributionPoint = transactionFileReaderEventDistributionPoint; //Guid.Empty means head distribution point _headDistributionPoint.Resume(); }
public void Start(Guid distributionPointId, TransactionFileReaderEventDistributionPoint transactionFileReaderEventDistributionPoint) { _distributionPointId = distributionPointId; _headDistributionPoint = transactionFileReaderEventDistributionPoint; //Guid.Empty means head distribution point _headDistributionPoint.Resume(); }
private void AddSubscriber(Guid publishWithCorrelationId, ProjectionSubscription subscription) { _headSubscribers.Add(publishWithCorrelationId, subscription); if (_headDistributionPointPaused) { _headDistributionPointPaused = false; _headDistributionPoint.Resume(); } }