Table of Contents

Class InsertOutboxMessage

Namespace
Excalibur.Outbox.Oracle
Assembly
Excalibur.Outbox.Oracle.dll

Represents a data request to insert a new outbox message into the Oracle database.

public sealed class InsertOutboxMessage : DataRequest<int>, IDataRequest<IDbConnection, int>, IDataRequest
Inheritance
InsertOutboxMessage
Implements
Inherited Members

Constructors

InsertOutboxMessage(string, string, string, byte[], DateTimeOffset, string?, string?, string?, string?, int, DateTimeOffset?, string?, string?, long, string?, bool, string, int, CancellationToken)

Initializes a new instance of the InsertOutboxMessage class.

public InsertOutboxMessage(string messageId, string messageType, string messageMetadata, byte[] messageBody, DateTimeOffset createdAt, string? tenantId, string? destination, string? correlationId, string? causationId, int priority, DateTimeOffset? scheduledAt, string? partitionKey, string? groupKey, long sequenceNumber, string? targetTransports, bool isMultiTransport, string outboxTableName, int sqlTimeOutSeconds, CancellationToken cancellationToken)

Parameters

messageId string

The unique identifier of the message.

messageType string

The type of the message.

messageMetadata string

The metadata associated with the message.

messageBody byte[]

The serialized body content of the message as raw bytes (persisted to a BLOB column).

createdAt DateTimeOffset

The time the message was created; persisted to occurred_on so the caller's created-at survives the stage→reload round-trip (rather than being overwritten with the database server clock).

tenantId string

The tenant identifier the message was produced under, or null when no tenant scope applies.

destination string

The delivery destination the message is routed to, or null when none was carried.

correlationId string

The correlation identifier for distributed tracing, or null when none was carried.

causationId string

The causation identifier linking to the triggering message, or null when none was carried.

priority int

The delivery priority (higher values indicate higher priority); 0 when none was specified.

scheduledAt DateTimeOffset?

The time before which the message must not be delivered, or null when it is deliverable immediately.

partitionKey string

The partition key preserving ordered delivery within a partition, or null when none was carried.

groupKey string

The logical grouping key, or null when none was carried.

sequenceNumber long

The strictly-increasing per-partition sequence number enforcing ascending in-partition delivery order; 0 when none was carried.

targetTransports string

The comma-separated set of target transports, or null when none was carried.

isMultiTransport bool

true when the message targets multiple transports; otherwise false.

outboxTableName string

The name of the outbox table.

sqlTimeOutSeconds int

The SQL 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.