Beispiel #1
0
 /// <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();
 }
Beispiel #3
0
 public MicroserviceHost(BusOptions busOptions) : this(null, busOptions)
 {
 }
Beispiel #4
0
 public EventBusBase(BusOptions options = default(BusOptions))
 {
     BusOptions = options ?? new BusOptions();
 }