C# Class Wave.Filters.ThrottleMessages

Enforces that messages are delivered to a handler no faster than rate specified in RatePerSecond Implemented using the Token Bucket Algorithm.
Inheritance: System.Attribute, IInboundMessageFilter, IDisposable
Mostrar archivo Open project: ExpediaInc/WaveServiceBus

Public Methods

Method Description
Dispose ( ) : void
OnHandlerExecuted ( IHandlerResult handlerResult, Type messageType, object message ) : IHandlerResult
OnHandlerExecuting ( Type messageType, object message ) : IHandlerResult

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

OnHandlerExecuted() public method

public OnHandlerExecuted ( IHandlerResult handlerResult, Type messageType, object message ) : IHandlerResult
handlerResult IHandlerResult
messageType System.Type
message object
return IHandlerResult

OnHandlerExecuting() public method

public OnHandlerExecuting ( Type messageType, object message ) : IHandlerResult
messageType System.Type
message object
return IHandlerResult