Beispiel #1
0
        protected EndpointTestFixture()
        {
            var defaultSettings = new EndpointFactoryDefaultSettings();

            _endpointFactoryConfigurator = new EndpointFactoryConfigurator(defaultSettings);
            _endpointFactoryConfigurator.AddTransportFactory <TTransportFactory>();
            _endpointFactoryConfigurator.SetPurgeOnStartup(true);
        }
Beispiel #2
0
        /// <summary>
        /// c'tor that sets up the endpoint configurator, its default settings,
        /// and uses the class type parameter <see cref="TTransportFactory"/>
        /// as the transport for that endpoint.
        /// </summary>
        protected EndpointTestFixture()
        {
            Buses = new List <IServiceBus>();

            var defaultSettings = new EndpointFactoryDefaultSettings();

            EndpointFactoryConfigurator = new EndpointFactoryConfigurator(defaultSettings);
            EndpointFactoryConfigurator.AddTransportFactory <TTransportFactory>();
            EndpointFactoryConfigurator.SetPurgeOnStartup(true);
        }