public async Task DefaultContainerFactory() { var services = await RabbitDefaultContainerFactoryConfig.CreateAndStartServices(typeof(DefaultBean)); var context = services.GetRequiredService <IApplicationContext>(); TestDefaultContainerFactoryConfiguration(context); }
public async Task RabbitListeners() { var services = await RabbitDefaultContainerFactoryConfig.CreateAndStartServices(typeof(RabbitListenersBean), typeof(ClassLevelListenersBean)); var context = services.GetRequiredService <IApplicationContext>(); TestRabbitListenerRepeatable(context); }