Class DebounceDefinition
Scope-opener definition for the Debounce EIP.
Suppresses rapid-fire exchanges per key, forwarding only the last exchange after
a configurable quiet period.
Inherits the leaf DSL from ;
child steps build the downstream pipeline.
Close with .
public class DebounceDefinition : RouteDefinitionBase<DebounceDefinition>, IRouteDefinition, IProcessorDefinition, IRouteScope
Inheritance
Implements
Inherited Members
Properties
KeyExtractor
Gets the key extractor function used to correlate exchanges.
public Func<IExchange, string> KeyExtractor { get; }
QuietPeriod
Gets the quiet period after which the last buffered exchange is forwarded.
public TimeSpan QuietPeriod { get; }
Methods
CreateProcessor(IRouteContext)
Compile this node into a runtime processor.
public override IProcessor CreateProcessor(IRouteContext context)
EndDebounce()
Closes the Debounce scope and returns the parent route definition.
public IRouteDefinition EndDebounce()