protected override void ConfigureActiveMqReceiveEndpoint(IActiveMqReceiveEndpointConfigurator configurator) { configurator.UseDelayedRedelivery(r => r.Intervals(100, 200)); _consumer = new Consumer(); configurator.Consumer(() => _consumer); }
protected override void ConfigureActiveMqReceiveEndpoint(IActiveMqReceiveEndpointConfigurator configurator) { configurator.UseDelayedRedelivery(r => r.Interval(1, TimeSpan.FromMilliseconds(100))); configurator.UseRetry(r => r.Interval(1, TimeSpan.FromMilliseconds(100))); configurator.UseInMemoryOutbox(); configurator.Consumer <TestHandler>(); }
protected override void ConfigureActiveMqReceiveEndpoint(IActiveMqReceiveEndpointConfigurator configurator) { configurator.UseDelayedRedelivery(r => r.Intervals(100)); configurator.UseMessageRetry(x => x.Immediate(2)); Consumer.PingCount = 0; configurator.Consumer(() => new Consumer()); }