Ejemplo n.º 1
0
        public void Handle(ReaderSubscriptionMessage.EventReaderStarting message)
        {
            Guid projectionId;

            if (_stopped)
            {
                return;
            }
            if (!_eventReaderSubscriptions.TryGetValue(message.CorrelationId, out projectionId))
            {
                return; // unsubscribed
            }
            _subscriptions[projectionId].Handle(message);
        }
Ejemplo n.º 2
0
 public void Handle(ReaderSubscriptionMessage.EventReaderStarting message)
 {
     _receivedStartingNotifications.Add(message);
 }
Ejemplo n.º 3
0
 public void Handle(ReaderSubscriptionMessage.EventReaderStarting message)
 {
     PublishStartingAt(message.LastCommitPosition);
 }