/// <summary> /// Initializes a new instance of the <see cref="DistributedEventBrokerExtensionBase"/> class. /// </summary> /// <param name="distributedEventBrokerIdentification">The distributed event broker identification.</param> /// <param name="eventBrokerBus">The event broker bus.</param> /// <param name="factory">The factory.</param> protected DistributedEventBrokerExtensionBase(string distributedEventBrokerIdentification, IEventBrokerBus eventBrokerBus, IDistributedFactory factory) { this.Factory = factory; this.Serializer = this.Factory.CreateEventArgsSerializer(); this.DistributedEventBrokerIdentification = distributedEventBrokerIdentification; this.MessageFactory = this.Factory.CreateMessageFactory(); this.SelectionStrategy = this.Factory.CreateTopicSelectionStrategy(); this.EventBrokerBus = eventBrokerBus; this.topics = new List<string>(); }
public TestableDistributedEventBrokerExtensionBase(string distributedEventBrokerIdentification, IEventBrokerBus eventBrokerBus, IDistributedFactory factory) : base(distributedEventBrokerIdentification, eventBrokerBus, factory) { }
/// <summary> /// Initializes a new instance of the <see cref="DistributedEventBrokerExtensionBase"/> class. /// </summary> /// <param name="distributedEventBrokerIdentification">The distributed event broker identification.</param> /// <param name="eventBrokerBus">The event broker bus.</param> protected DistributedEventBrokerExtensionBase(string distributedEventBrokerIdentification, IEventBrokerBus eventBrokerBus) : this(distributedEventBrokerIdentification, eventBrokerBus, new DefaultDistributedFactory()) { }
/// <summary> /// Initializes a new instance of the <see cref="MassTransitDistributedEventBrokerExtension"/> class. /// </summary> /// <param name="distributedEventBrokerIdentification">The distributed event broker identification.</param> /// <param name="eventBrokerBus">The event broker bus.</param> /// <param name="factory">The factory.</param> public MassTransitDistributedEventBrokerExtension(string distributedEventBrokerIdentification, IEventBrokerBus eventBrokerBus, IDistributedFactory factory) : base(distributedEventBrokerIdentification, eventBrokerBus, factory) { }
/// <summary> /// Initializes a new instance of the <see cref="NServiceBusDistributedEventBrokerExtension"/> class. /// </summary> /// <param name="distributedEventBrokerIdentification">The distributed event broker identification.</param> /// <param name="eventBrokerBus">The event broker bus.</param> /// <param name="factory">The factory.</param> public NServiceBusDistributedEventBrokerExtension(string distributedEventBrokerIdentification, IEventBrokerBus eventBrokerBus, IDistributedFactory factory) : base(distributedEventBrokerIdentification, eventBrokerBus, factory) { }
/// <summary> /// Initializes a new instance of the <see cref="DistributedEventBrokerExtensionBase"/> class. /// </summary> /// <param name="distributedEventBrokerIdentification">The distributed event broker identification.</param> /// <param name="eventBrokerBus">The event broker bus.</param> /// <param name="factory">The factory.</param> protected DistributedEventBrokerExtensionBase(string distributedEventBrokerIdentification, IEventBrokerBus eventBrokerBus, IDistributedFactory factory) { this.Factory = factory; this.Serializer = this.Factory.CreateEventArgsSerializer(); this.DistributedEventBrokerIdentification = distributedEventBrokerIdentification; this.MessageFactory = this.Factory.CreateMessageFactory(); this.SelectionStrategy = this.Factory.CreateTopicSelectionStrategy(); this.EventBrokerBus = eventBrokerBus; this.topics = new List <string>(); }
public FakeDistributedEventBrokerExtension(IEventBrokerBus eventBrokerBus) : base("Specification Distributed Event Broker", eventBrokerBus) { }
public TestableDistributedEventBrokerExtensionBase(string distributedEventBrokerIdentification, IEventBrokerBus eventBrokerBus, IDistributedFactory factory, IEventRegistrar registerer) : base(distributedEventBrokerIdentification, eventBrokerBus, factory) { this.registerer = registerer; }