Example #1
0
        public void GlobalEvent(EventMessage message)
        {
            var store = StoreManager.GetEventStore(message.Database);

            EventCommand cmd = new EventCommand()
            {
                Command = message.Command, CommandMarker = message.CommandMarker
            };

            cmd.SetMarker(P2PConfiguration.NoRedispatch);

            store.Enqueue(cmd);
        }