Table of Contents

Class PostgresOutboxBuilderExtensions

Namespace
Excalibur.Outbox.Postgres
Assembly
Excalibur.Outbox.Postgres.dll

Extension methods for IPostgresOutboxBuilder.

public static class PostgresOutboxBuilderExtensions
Inheritance
PostgresOutboxBuilderExtensions
Inherited Members

Methods

CommandTimeout(IPostgresOutboxBuilder, TimeSpan)

Sets the command timeout for Postgres operations.

public static IPostgresOutboxBuilder CommandTimeout(this IPostgresOutboxBuilder builder, TimeSpan timeout)

Parameters

builder IPostgresOutboxBuilder

The builder.

timeout TimeSpan

The command timeout. Must be positive.

Returns

IPostgresOutboxBuilder

The builder for fluent chaining.

MaxAttempts(IPostgresOutboxBuilder, int)

Sets the maximum number of delivery attempts before moving to dead letter.

public static IPostgresOutboxBuilder MaxAttempts(this IPostgresOutboxBuilder builder, int maxAttempts)

Parameters

builder IPostgresOutboxBuilder

The builder.

maxAttempts int

The maximum attempts. Must be greater than 0.

Returns

IPostgresOutboxBuilder

The builder for fluent chaining.

ReservationTimeout(IPostgresOutboxBuilder, TimeSpan)

Sets the reservation timeout for message processing.

public static IPostgresOutboxBuilder ReservationTimeout(this IPostgresOutboxBuilder builder, TimeSpan timeout)

Parameters

builder IPostgresOutboxBuilder

The builder.

timeout TimeSpan

The reservation timeout. Must be positive.

Returns

IPostgresOutboxBuilder

The builder for fluent chaining.