Table of Contents

Interface IOracleSagaBuilder

Namespace
Excalibur.Saga.Oracle
Assembly
Excalibur.Saga.Oracle.dll

Fluent builder interface for configuring Oracle saga store settings.

public interface IOracleSagaBuilder

Remarks

Provides the canonical 4 connection overloads plus subsystem-specific configuration for saga schema and table names. Connection overloads are mutually exclusive (last-wins): if multiple connection methods are called, the last one takes effect.

The configured connection is shared by the saga store and the timeout store.

Methods

BindConfiguration(string)

Binds options from an IConfiguration section.

IOracleSagaBuilder BindConfiguration(string sectionPath)

Parameters

sectionPath string

The configuration section path (e.g., "Saga:Oracle").

Returns

IOracleSagaBuilder

The builder for fluent chaining.

ConnectionFactory(Func<IServiceProvider, Func<OracleConnection>>)

Sets a factory function that creates Oracle connections.

IOracleSagaBuilder ConnectionFactory(Func<IServiceProvider, Func<OracleConnection>> connectionFactory)

Parameters

connectionFactory Func<IServiceProvider, Func<OracleConnection>>

A factory receiving IServiceProvider and returning a Func<OracleConnection> that creates connections on demand.

Returns

IOracleSagaBuilder

The builder for fluent chaining.

ConnectionString(string)

Sets the Oracle connection string.

IOracleSagaBuilder ConnectionString(string connectionString)

Parameters

connectionString string

The Oracle connection string.

Returns

IOracleSagaBuilder

The builder for fluent chaining.

ConnectionStringName(string)

Resolves the connection string from IConfiguration.GetConnectionString(name) at service resolution time.

IOracleSagaBuilder ConnectionStringName(string name)

Parameters

name string

The connection string name in the ConnectionStrings section.

Returns

IOracleSagaBuilder

The builder for fluent chaining.

SchemaName(string)

Sets the schema name for the saga table. Default: "DISPATCH".

IOracleSagaBuilder SchemaName(string schema)

Parameters

schema string

The schema name.

Returns

IOracleSagaBuilder

The builder for fluent chaining.

TableName(string)

Sets the saga table name. Default: "SAGAS".

IOracleSagaBuilder TableName(string tableName)

Parameters

tableName string

The table name.

Returns

IOracleSagaBuilder

The builder for fluent chaining.