/// <summary> /// Configures Rebus to store sagas in PostgreSQL. /// </summary> public static PostgreSqlSagaPersisterFluentConfigurer StoreInPostgreSql(this RebusSagasConfigurer configurer, string connectionString, string sagaTable, string sagaIndexTable) { var persister = new PostgreSqlSagaPersister(connectionString, sagaTable, sagaIndexTable); configurer.Use(persister); return(new PostgreSqlSagaPersisterFluentConfigurer(persister)); }
public PostgreSqlSagaPersisterFluentConfigurer(PostgreSqlSagaPersister postgreSqlSagaPersister) { this.postgreSqlSagaPersister = postgreSqlSagaPersister; }