public void Handle(CoreProjectionStatusMessage.StateReport message)
        {
            var command = new StateReport {
                Id            = message.ProjectionId.ToString("N"),
                State         = message.State,
                CorrelationId = message.CorrelationId.ToString("N"),
                Position      = message.Position,
                Partition     = message.Partition
            };

            _writer.PublishCommand("$state", command);
        }
Example #2
0
 public void Handle(CoreProjectionStatusMessage.StateReport message)
 {
     _getStateDispatcher.Handle(message);
 }