Class OutboxSender
Assembly: Volo.Abp.EventBus.dll
Syntax
public class OutboxSender : IOutboxSender, ITransientDependency
Constructors
OutboxSender(IServiceProvider, AbpAsyncTimer, IDistributedEventBus, IAbpDistributedLock, IOptions<AbpEventBusBoxesOptions>)
Declaration
public OutboxSender(IServiceProvider serviceProvider, AbpAsyncTimer timer, IDistributedEventBus distributedEventBus, IAbpDistributedLock distributedLock, IOptions<AbpEventBusBoxesOptions> eventBusBoxesOptions)
Parameters
Properties
DistributedEventBus
Declaration
protected IDistributedEventBus DistributedEventBus { get; }
Property Value
DistributedLock
Declaration
protected IAbpDistributedLock DistributedLock { get; }
Property Value
DistributedLockName
Declaration
protected string DistributedLockName { get; }
Property Value
EventBusBoxesOptions
Declaration
protected AbpEventBusBoxesOptions EventBusBoxesOptions { get; }
Property Value
Logger
Declaration
public ILogger<OutboxSender> Logger { get; set; }
Property Value
Outbox
Declaration
protected IEventOutbox Outbox { get; }
Property Value
OutboxConfig
Declaration
protected OutboxConfig OutboxConfig { get; }
Property Value
ServiceProvider
Declaration
protected IServiceProvider ServiceProvider { get; }
Property Value
StoppingToken
Declaration
protected CancellationToken StoppingToken { get; }
Property Value
StoppingTokenSource
Declaration
protected CancellationTokenSource StoppingTokenSource { get; }
Property Value
Timer
Declaration
protected AbpAsyncTimer Timer { get; }
Property Value
Methods
PublishOutgoingMessagesAsync(List<OutgoingEventInfo>)
Declaration
protected virtual Task PublishOutgoingMessagesAsync(List<OutgoingEventInfo> waitingEvents)
Parameters
Returns
PublishOutgoingMessagesInBatchAsync(List<OutgoingEventInfo>)
Declaration
protected virtual Task PublishOutgoingMessagesInBatchAsync(List<OutgoingEventInfo> waitingEvents)
Parameters
Returns
RunAsync()
Declaration
protected virtual Task RunAsync()
Returns
StartAsync(OutboxConfig, CancellationToken)
Declaration
public virtual Task StartAsync(OutboxConfig outboxConfig, CancellationToken cancellationToken = default)
Parameters
Returns
StopAsync(CancellationToken)
Declaration
public virtual Task StopAsync(CancellationToken cancellationToken = default)
Parameters
Returns
Implements
Extension Methods