C# Class Nimbus.Infrastructure.MessagePump

Inheritance: IMessagePump
Show file Open project: NimbusAPI/Nimbus

Public Methods

Method Description
Dispose ( ) : void
MessagePump ( EnableDeadLetteringOnMessageExpirationSetting enableDeadLetteringOnMessageExpiration, MaxDeliveryAttemptSetting maxDeliveryAttempts, IClock clock, IDeadLetterOffice deadLetterOffice, IDelayedDeliveryService delayedDeliveryService, IDeliveryRetryStrategy deliveryRetryStrategy, IDispatchContextManager dispatchContextManager, ILogger logger, IMessageDispatcher messageDispatcher, INimbusMessageReceiver receiver ) : System
Start ( ) : Task
Stop ( ) : Task

Private Methods

Method Description
Dispatch ( NimbusMessage message ) : Task
PostToDeadLetterOffice ( NimbusMessage message ) : Task

Method Details

Dispose() public method

public Dispose ( ) : void
return void

MessagePump() public method

public MessagePump ( EnableDeadLetteringOnMessageExpirationSetting enableDeadLetteringOnMessageExpiration, MaxDeliveryAttemptSetting maxDeliveryAttempts, IClock clock, IDeadLetterOffice deadLetterOffice, IDelayedDeliveryService delayedDeliveryService, IDeliveryRetryStrategy deliveryRetryStrategy, IDispatchContextManager dispatchContextManager, ILogger logger, IMessageDispatcher messageDispatcher, INimbusMessageReceiver receiver ) : System
enableDeadLetteringOnMessageExpiration EnableDeadLetteringOnMessageExpirationSetting
maxDeliveryAttempts MaxDeliveryAttemptSetting
clock IClock
deadLetterOffice IDeadLetterOffice
delayedDeliveryService IDelayedDeliveryService
deliveryRetryStrategy IDeliveryRetryStrategy
dispatchContextManager IDispatchContextManager
logger ILogger
messageDispatcher IMessageDispatcher
receiver INimbusMessageReceiver
return System

Start() public method

public Start ( ) : Task
return Task

Stop() public method

public Stop ( ) : Task
return Task