/// <summary> /// Each EventPublisher creates its own connection to rabbitMQ. /// </summary> /// <param name="options">the configuration of the RabbitMQ connection. If none are passed, the default BusOptions are being used.</param> public EventPublisher(BusOptions options = default(BusOptions)) : base(options) { try { Open(); } catch { Dispose(); throw; } }
public EventDispatcher(BusOptions options = default(BusOptions)) : base(options) { DispatcherModel = new DispatcherModel(); PopulateDispatcherModel(); }
public MicroserviceHost(BusOptions busOptions) : this(null, busOptions) { }
public EventBusBase(BusOptions options = default(BusOptions)) { BusOptions = options ?? new BusOptions(); }