Class CleanupTransportDeliveriesRequest
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
outboxTableNamestringThe qualified outbox table name.
transportsTableNamestringThe qualified transports table name.
olderThanDateTimeOffsetDelete deliveries for messages sent before this time.
batchSizeintMaximum number of messages to process.
transactionIDbTransactionOptional transaction to participate in.
commandTimeoutintCommand timeout in seconds.
cancellationTokenCancellationTokenThe 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.