Table of Contents

Class GetScheduledMessagesRequest

Namespace
Excalibur.Outbox.SqlServer.Requests
Assembly
Excalibur.Outbox.SqlServer.dll

Data request to get scheduled messages from the outbox.

[NoTenantTerm(TenantConfinement.EstateWide, "the outbox drain is cross-tenant by design: one dispatcher serves every tenant, and the row carries TenantId so the handler can re-establish the owning tenant per message. Scoping this read to the ambient tenant would stall delivery for every other tenant")]
public sealed class GetScheduledMessagesRequest : DataRequestBase<IDbConnection, IEnumerable<OutboxMessageRow>>, IDataRequest<IDbConnection, IEnumerable<OutboxMessageRow>>, IDataRequest
Inheritance
GetScheduledMessagesRequest
Implements
Inherited Members

Remarks

This framework-owned request uses its fixed constructor-defined primitive input schema. Replacing a known parameter value through Parameters is observed at execution; parameter DbType, direction, size, templates and output callbacks are not an extensibility contract of this request. Custom IDataRequest implementations retain their own execution behavior.

Constructors

GetScheduledMessagesRequest(string, DateTimeOffset, int, int, CancellationToken)

Initializes a new instance of the GetScheduledMessagesRequest class.

public GetScheduledMessagesRequest(string tableName, DateTimeOffset scheduledBefore, int batchSize, int commandTimeout, CancellationToken cancellationToken)

Parameters

tableName string

The qualified outbox table name.

scheduledBefore DateTimeOffset

Get messages scheduled before this time.

batchSize int

Maximum number of messages to retrieve.

commandTimeout int

Command timeout in seconds.

cancellationToken CancellationToken

The cancellation token.