public static IConfig WithMq(this IConfig config, Action<ICompositeMqFluentConfig> mqConfiguration)
 {
     var mqConfig = new CompositeMqFluentConfig();
     mqConfiguration(mqConfig);
     config.RegisterServiceInstance<IMessageBus>(mqConfig.Build());
     return config;
 }
Beispiel #2
0
        public static IConfig WithMq(this IConfig config, Action <ICompositeMqFluentConfig> mqConfiguration)
        {
            var mqConfig = new CompositeMqFluentConfig();

            mqConfiguration(mqConfig);
            config.RegisterServiceInstance <IMessageBus>(mqConfig.Build());
            return(config);
        }