Table of Contents

Class CleanupTransportDeliveriesRequest

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

Data request to delete transport deliveries for sent messages older than a specified date. This is the first step in the cleanup process.

[NoTenantTerm(TenantConfinement.EstateWide, "retention purge: deletes transport delivery rows whose parent message is already sent and aged out, following the parent rows the operator purges estate-wide; bounded by the age and batch arguments, never by ambient tenant state")]
public sealed class CleanupTransportDeliveriesRequest : DataRequestBase<IDbConnection, int>, IDataRequest<IDbConnection, int>, IDataRequest
Inheritance
CleanupTransportDeliveriesRequest
Implements
Inherited Members

Constructors

CleanupTransportDeliveriesRequest(string, string, DateTimeOffset, int, IDbTransaction?, int, CancellationToken)

Initializes a new instance of the CleanupTransportDeliveriesRequest class.

public CleanupTransportDeliveriesRequest(string outboxTableName, string transportsTableName, DateTimeOffset olderThan, int batchSize, IDbTransaction? transaction, int commandTimeout, CancellationToken cancellationToken)

Parameters

outboxTableName string

The qualified outbox table name.

transportsTableName string

The qualified transports table name.

olderThan DateTimeOffset

Delete deliveries for messages sent before this time.

batchSize int

Maximum number of messages to process.

transaction IDbTransaction

Optional transaction to participate in.

commandTimeout int

Command timeout in seconds.

cancellationToken CancellationToken

The cancellation token.

Remarks

This framework request binds its fixed primitive input and output schema without runtime emit. Replacing a known parameter value is observed at execution; custom parameter metadata, templates and output callbacks are not an extension contract. Custom IDataRequest implementations are unchanged.