public StepsContext() { DependencyResolver.Reset(); DependencyResolver.Initialize(); Supervisor = DependencyResolver.Get<Supervisor>(); SubscriptionBus = DependencyResolver.Get<ISubscriptionBus>(); SendingBus = DependencyResolver.Get<ISendingBus>(); Launcher = DependencyResolver.Get<DispatcherLauncher>(); WorkDispatchersOffline = new List<DispatcherId>(); WorkDispatchersOnline = new List<DispatcherId>(); ClearAmqpResources(); }
public StepsContext() { DependencyResolver.Reset(); DependencyResolver.Initialize(); DispatcherLifeSpan = new DispatcherLifeSpan { Mode = DispatcherLifeSpanMode.UntilTimedOut, Timeout = TimeSpan.FromSeconds(10) }; BootstrapSettings = new BootstrapSettings(); SendingBus = DependencyResolver.Get<ISendingBus>(); ReceivingBus = DependencyResolver.Get<IReceivingBus>(); Bootstrapper = DependencyResolver.Get<Bootstrapper>(); LatestLifeSignals = new Dictionary<string, LifeSignal>(); MaxTimeDispatcherCanBeSilent = TimeSpan.FromSeconds(5); ClearAmqpResources(); }
public StepsContext() { DependencyResolver.Reset(); DependencyResolver.Initialize(); DispatcherLifeSpan = new DispatcherLifeSpan { Mode = DispatcherLifeSpanMode.UntilTimedOut, Timeout = TimeSpan.FromSeconds(15) }; BootstrapSettings = new BootstrapSettings(); WorkDispatchersOnline = new List<DispatcherId>(); WorkDispatchersRestarted = new List<DispatcherId>(); SubscriptionBus = DependencyResolver.Get<ISubscriptionBus>(); SendingBus = DependencyResolver.Get<ISendingBus>(); Supervisor = DependencyResolver.Get<Supervisor>(); ClearAmqpResources(); }