private void ProcessEventMessageOnStartUp(EventMessage eventMessage) { var data = new Byte(); unCommitEventsMessageCounter.Enqueue(data); eventStore.Append(eventMessage.EventId, eventMessage.Message); unCommitEventsMessageCounter.TryDequeue(out data); }
private void ProcessEventMessage(EventMessage eventMessage) { eventStore.Append(eventMessage.EventId, eventMessage.Message); }