/// <summary> /// Initializes an instance of <see cref="EventsConfiguration"/> /// </summary> public EventsConfiguration() { CommittedEventStreamSender = new CommittedEventStreamSenderConfiguration(); CommittedEventStreamReceiver = new CommittedEventStreamReceiverConfiguration(); EventProcessorLog = typeof(NullEventProcessorLog); EventStore = new EventStoreConfiguration(); EventSourceVersions = new EventSourceVersionsConfiguration(); EventSequenceNumbers = new EventSequenceNumbersConfiguration(); EventProcessorStates = new EventProcessorStatesConfiguration(); }
/// <summary> /// /// </summary> /// <param name="configuration"></param> /// <returns></returns> public static CommittedEventStreamSenderConfiguration UsingRabbitMQ(this CommittedEventStreamSenderConfiguration configuration) { configuration.CommittedEventStreamSender = typeof(RabbitMQ.CommittedEventStreamSender); return(configuration); }