protected override void ConfigureInMemoryReceiveEndpoint(IInMemoryReceiveEndpointConfigurator configurator) { _configurator.ManagementEndpoint(mc => { configurator.UseConcurrencyLimit(32, mc); }); }
protected override void ConfigureInputQueueEndpoint(IInMemoryReceiveEndpointConfigurator configurator) { configurator.UseConcurrencyLimit(1); var builder = new ContainerBuilder(); builder.RegisterModule <ConsumerModule>(); _container = builder.Build(); // uses the registry which we should resolve in the method configurator.ConsumerInScope <OrderUpdateConsumer, string>(_container); _updated = Handled <OrderUpdated>(configurator, context => context.Message.OrderId == "123" && context.Message.OrderStatus == "Processed"); }
protected override void ConfigureInMemoryReceiveEndpoint(IInMemoryReceiveEndpointConfigurator configurator) { base.ConfigureInMemoryReceiveEndpoint(configurator); configurator.UseConcurrencyLimit(32, _management); }
protected override void ConfigureInputQueueEndpoint(IInMemoryReceiveEndpointConfigurator configurator) { base.ConfigureInputQueueEndpoint(configurator); configurator.UseConcurrencyLimit(32, _management); }