public static void ConfigurePublishMessage <T>(this IRabbitMqBusFactoryConfigurator configurator,
                                                SfuOptions options) where T : class
 {
     configurator.Message <T>(topologyConfigurator =>
     {
         topologyConfigurator.SetEntityName(options.PublishExchange);
     });
     configurator.Publish <T>(top =>
     {
         top.ExchangeType = ExchangeType.Direct;
         top.Durable      = false;
     });
 }
Ejemplo n.º 2
0
 public SfuController(ISfuConferenceInfoProvider provider, IOptions <SfuOptions> options)
 {
     _provider = provider;
     _options  = options.Value;
 }