Class PostgresOutboxBuilderExtensions
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
builderIPostgresOutboxBuilderThe builder.
timeoutTimeSpanThe 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
builderIPostgresOutboxBuilderThe builder.
maxAttemptsintThe 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
builderIPostgresOutboxBuilderThe builder.
timeoutTimeSpanThe reservation timeout. Must be positive.
Returns
- IPostgresOutboxBuilder
The builder for fluent chaining.