public static SiloHost UseEventStore(this SiloHost siloHost, string rabbitMqConnectString, int eventMessageProcessorPoolSize = 10)
        {
            //give the rabbitmq connect string
            var setting = new EventStoreDispatcherSetting(rabbitMqConnectString, eventMessageProcessorPoolSize);
            EventStoreDispatcher.Initialize(setting);

            return siloHost;
        }
        public static SiloHost UseEventStore(this SiloHost siloHost, string rabbitMqConnectString, int eventMessageProcessorPoolSize = 10)
        {
            //give the rabbitmq connect string
            var setting = new EventStoreDispatcherSetting(rabbitMqConnectString, eventMessageProcessorPoolSize);

            EventStoreDispatcher.Initialize(setting);

            return(siloHost);
        }
 public static void Initialize(EventStoreDispatcherSetting setting)
 {
     dispatcherSetting = setting;
 }
Пример #4
0
 public static void Initialize(EventStoreDispatcherSetting setting)
 {
     dispatcherSetting = setting;
 }